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
- Crash on CheckDeviceStatus when selecting GameObjects in the scene view while using DX12
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
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.