No controller input during gameplay on macOS

Godot Version

v4.5.stable.official [876b29033]

Question

I’ve just started working on a new game and controller input is not detected on macOS during gameplay. I’ve tested with PS5 and Xbox Series and Switch 2 controllers, but nothing. My friend who’s also on the project and uses Windows 11 gets input just fine from any controllers on same project. While listening to controller input in the project input mapper Godot does detect controller input correctly from any of the controllers, so I’m a bit perplexed why not when running the game in editor.

There doesn’t seem to be any other app or game using the controllers. Made sure OS is up to date as well (M1 MacBook Pro).

1 Like

Have you tried export and compile game on MacOS ?
Do you have Mouse input by any chance for capture /visible ?

The embedded option for MacOS is available from 4.5 it was previously only on Windows , so maybe some input is not passing or ignoring in UI nodes .

Yes I have. In the exported playable build it works correctly, but I still would like to get it working in the editor for iteration speed.

1 Like

@b4rn154n

I have tried use Xbox Controller ( from Series X , but its same as One, Series S ) connected via USB-C port to Mac .

4.2.2 - didn’t recognise input in action
4.5 - in embedded mode it doesn’t pick up action
if you turn off embedded mode it works fine .

So for now solution is use it out of embedded mode , and report bug .

1 Like

Thank you very much @iOSxcOder, this does fix it :folded_hands:
I’m going to report a bug about this.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.