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
- Crash on memcpy when opening a project that loads TSS files
- Multiple errors appear when compiling a ShaderGraph shader's code in a specific project
- TextMeshPro memory leak occurs when reloading the scene using Addressables
- Vector3 node has no X, Y, Z outputs when adding Vector3 node in the Visual Effect Graph
- [Android] Error "Blitter is already initialized" is present when Adaptive Probe Volumes are used with OpenGLES3
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