Search Issue Tracker
By Design
Votes
0
Found in
6000.0.32f1
6000.1.0a9
Issue ID
UUM-91719
Regression
No
Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Reproduction steps:
1. Open the attached project "ReproProj"
2. In the toolbar, select Herve > Open Dialogue Editor
3. Observe the Herve window
Expected result: White text is present
Actual result: Text is black
Reproducible with: 6000.0.32f1, 6000.1.0a9
Could not test with: 2022.3.55f1 (Assets\Herve\Scripts\Editor\Views\Windows\Popups\Popup.cs(44,35): error CS0115: 'Popup.CreateGUI()': no suitable method found to override)
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- Does not reproduce with “DialogueEditorViewUSS” in Edit > Preferences > Herve > Herve Editor Theme Style Sheet
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Hi! This is by design. TSS styles sheets are applied in a way the allows for all other normal style sheets and inline styles to override their style properties. They are treated special in terms of precedence. This is how the Editor works to allow users to easily override styles coming from the standard dark/light Editor themes. TSS style sheets are not meant to be used in Editor tools, and are primarily for runtime theming.