Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.2.X, 6000.3.X, 6000.4.X

Votes

0

Found in

6000.0.50f1

6000.1.5f1

6000.2.0b3

6000.3.0a1

6000.4.0a1

6000.5.0a1

Issue ID

UUM-108227

Regression

No

Selector override rules for user styles are ignored when used from themes

-

Steps to reproduce:

  •  Import the attached "CustomThemeSelectorRuleIssue.unitypackage" into any project
  • Select Test->StyleSheetButton-Editor menu to show an editor window
  • Notice the red button and hover/click on it, it keeps its red background
  • Open the "ButtonStyledTheme" scene
  • Enter playmode
  • Hover on all 3 buttons
  •  

Actual results:  Not all buttons are red, especially when hovered

Expected results: All buttons should be red, when hovered and clicked.

Reproducible with versions: 

Not reproducible with versions: 

Can’t test with versions: 

Tested on (OS):  Windows editor

Notes:

  • Something fishy is going on. Changing the PanelSettings of one of the UIDocuments in the scene might affect the styling on the other documents. My gut tells me the style cache might be to blame here

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.