Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
1
Found in
2018.2.14f1
Issue ID
1099111
Regression
Yes
[UWP] Controller button triggers rapidly only when two controllers are connected
To reproduce:
1) download the project attached in https://forum.unity.com/threads/xbox-one-controller-buttons-fire-multiple-times-only-when-two-controllers-connected.580480/#post-4117315
2) Make a UWP build and deploy to Xbox
3) Connect one controller to the Xbox and press any button to see how the background image disappears and reappears on subsequent presses
4) Connect a second controller and press any button on any of the 2 controllers again
Result: Now multiple inputs are read at the same and the background image blinks rapidly.
Note: Not reproducible using the Xbox Unity module
Reproduced on: 2019.1.0a14, 2018.3.3f1, 2018.2.20f1
Note: This bug impacts UWP apps in general and not just on Xbox. It's specific to reading the "global" keystate, i.e. Joystick 0, when multiple Xbox gamepads are connected. Since the UI Button's default OnClick() event is triggered from any input source (including Joystick 0) it will repro this bug, but reading input directly from a given gamepad should work fine.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
Add comment