Search Issue Tracker
Feature Request
Votes
2
Found in
6000.0.48f1
6000.1.1f1
6000.2.0a10
6000.3.0a1
Issue ID
UUM-104404
Regression
Yes
Button hover state uses default theme color when a custom .uss is applied
Reproduction steps:
1. Open the attached "repro_IN-100398" project
2. Open the "Assets/Scenes/SampleScene.unity" Scene
3. Enter the Play Mode
4. In the Game view, hover over the "Button", which is located at the top
5. Observe the color of the button
Expected result: Color of the button changes to blue
Actual result: Color of the button changes to gray
Reproducible with: 2023.2.0a13, 6000.0.48f1, 6000.1.1f1, 6000.2.0a10
Not reproducible with: 2022.3.61f1, 2023.2.0a12
Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested
Notes:
- Reproducible in Player
- Related Discussions thread: https://discussions.unity.com/t/pseudo-classes-dont-apply-when-used-with-theme/1636596
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
This is currently a limitation of our selector matching logic. It's not ideal but it requires a more significant feature work to address, not a simple bug fix.