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
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
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