Search Issue Tracker
By Design
Votes
1
Found in
2017.4
2018.4
2019.2
2019.3
2019.3.0b7
2020.1
Issue ID
1192373
Regression
No
Wrong Buttons get selected when using Button.Select through a script, not unselecting it and changing Mouse Position
How to reproduce:
1. Open the attached project
2. Open the SampleScene
3. Enter the Play Mode
4. Move the red circle, which acts as a Mouse Pointer, with the Keyboard's Arrow Keys
5. Move the red circle around the Buttons
Expected result: Buttons are selected when the red circle is on top of them.
Actual result: Buttons are selected even though the red circle does not touch them.
Reproducible in: 2017.4.33f1, 2018.4.12f1, 2019.2.10f1, 2019.3.0b7, 2020.1.0a9
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note:
When selecting a Button with a Button.Select function, it enables Navigation between them with the Arrow Keys. To fix this, Navigation option in the Button Component should be set to None on all of the UI Buttons.