Search Issue Tracker
Fixed in 1.0.0-preview.15
Votes
0
Found in [Package]
1.0.0-preview.14
Issue ID
1315393
Regression
No
[UI Toolkit] Submit button on a gamepad still works when the menu is disabled
How to reproduce:
1. Open the user's attached project "UIToolkit.zip"
2. In the Project tab, open Assets/SampleScene.unity
3. Connect a controller to the computer
4. Enter Play Mode
5. Move between the buttons in the Game view using D-pad until the message "5 SECONDS" is printed out in the Console and the menu is disabled
6. Press the submit button (A on Xbox One controller)
Expected results: the disabled menu doesn't change
Actual results: the button that was last chosen (marked green) turns red even when the menu is disabled
Reproducible with: 2020.2.6f1, 2021.1.0b9 (UI Toolkit 1.0.0-preview.11, 1.0.0-preview.14)
Could not test with:
-2018.4.32f1, 2019.4.21f1 as UI Toolkit is not available, 2021.2.0a7 (UI Toolkit 1.0.0-preview.11, 1.0.0-preview.14) due to errors
-UI Toolkit 1.0.0-preview.9 and earlier (2020.2.6f1, 2021.1.0b9) due to errors
Notes:
- Tested with an Xbox One controller
- The issue is reproducible on Windows and macOS
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 1.0.0-preview.15):
Fixed in UI Toolkit 1.0.0-preview.15, available in 2020.3 stream of Unity and newer