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
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is 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.