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
- Find prefab components in scene is broken in new hierarchy
- Number "0" is not visible in Unity Documentation page button tooltips
- Selected Korean input text in UIToolkit TextField is not fully replaced when refocusing and entering new input
- [UITK Controls] Non text InputField can't be reset by API
- Control Scheme name field has no character limit, causing “Add Control Scheme” window to expand if name is too long
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.