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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment