Search Issue Tracker
Fixed
Fixed in 6000.2.0a4
Votes
0
Found in
6000.0.32f1
6000.1.0a9
6000.2.0a1
7000.0.0a1
Issue ID
UUM-91183
Regression
No
The ":" pseudo state selector will apply styles to all elements if the pseudo state is invalid
NOTE: The real bug here is that the ":" prefix actually does something. It should do nothing when the pseudo state is unknown (which is the case here). The reason why the selector without ":" does nothing is an unrelated problem and likely a user-side problem (will need investigation but likely the GraphView stylesheets are overriding the user one).
Reproduction steps:
1. Open the attached “IN-90844” project
2. Open the “Herve” window (Herve > Open Dialogue Editor)
3. Observe the Grid style
4. Open the “Herve/EditorResources/StyleSheets/DialogueEditorViewUSS.uss” Style Sheet
5. Remove the “:” prefix from the “GridBackground” selector
6. Observe the Grid style
Expected result: Grid style is applied without the “:” prefix
Actual result: Grid style is not visible without the “:” prefix
Reproducible with: 6000.0.32f1, 6000.1.0a9
Couldn’t test with: 2021.3.54f1, 2022.3.55f1 - “Tab” class is compilation errors
Reproducible on: Windows 10
Not reproducible on: No other environments tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment