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
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
Add comment