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

uGUI

-

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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.