Search Issue Tracker
By Design
Votes
0
Found in
2021.3.15f1
2022.1.1f1
2022.1.24f1
2023.1.0a23
Issue ID
UUM-21354
Regression
No
UI Toolkit Button doesn't revert its background color when the cursor is no longer hovering over the Button
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
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
According to the stylesheet in use, the Button's background should not change color when the hover state changes. If it was changing color before, it was probably due to a bug that has since been fixed.