Unity Issue Tracker - UI Toolkit Button doesn't revert its background color when the cursor is no longer hovering over the Button
Closed
UUM-21354
UI Toolkit Button doesn't revert its background color when the cursor is no longer hovering over the Button
Unity: UI Toolkit Framework
Won't Fix
2023.2.X
2023.1.X
2022.1.X
2021.3.X
2022.1 has reached end of life so the issue will be fixed in a newer version.
Reproduction steps:
Open the attached “UITKTest.zip” project
Open the “/Assets/Scenes/SampleScene.unity” Scene
Enter the Play Mode
Hover over each Button
Expected result: The Button color changes to light grey when the cursor is over the button and reverts back to dark grey when it’s not
Actual result: The Button color doesn’t change or doesn’t revert back to dark grey after hovering
Reproducible with: 2021.3.15f1, 2022.1.24f1, 2022.2.1f1, 2023.1.0a23
Couldn’t test with: 2020.3.42f1 - UIDocument is not present in the stream
Reproducible on: Windows 10 (21H2)
Note: using 2021.3.15f1 and 2022.1.24f1 Editors the color doesn’t change at all when the cursor is over the Button
Prioritise and Follow this issue
Have a workaround or additional info about this issue?