Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2020.3.X, 2021.1.X, 2021.2.X

Votes

1

Found in

2019.4

2020.3

2021.1

2021.1.7f1

2021.2

Issue ID

1342519

Regression

No

Selectable (i.e. Button) is not shown as selected when it's re-enabled until selection is cleared manually

uGUI

-

How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. Press the Button labeled "Test"
4. Move the cursor away from the Button
5. Inspect the Button's color
6. Wait for the Button to disappear and re-appear
7. Click on the Button again
8. Move the cursor away from the button again
9. Inspect the Button's color again

Expected result: Button is displayed as selected with the "Selected Color"
Actual result: Button is not displayed as selected

Reproducible with: 2019.4.28f1, 2020.3.12f, 2021.1.12f1, 2021.2.0b1
Couldn't test with: 2018.4.361 (There's no option for selected color)

Note:
- Manually resetting the selection and clicking the Button again resolves the problem

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in Unity 2022.1.0a3 and above

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in Unity 2021.2.0b8

  3. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in Unity 2021.1.19f1

  4. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in 2020.3.18f1

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.