Search Issue Tracker
Fixed in 1.0.0-preview.17
Votes
0
Found in [Package]
2021.1.17f1
Issue ID
1358872
Regression
Yes
[UI Builder] styles of uss files are assigned to all element in ui builder
Pre-Steps:
1. Install 2021.1.17f
2. Add com.unity.ui.builder 1.0.0-preview.16
3. Add com.unity.ui 1.0.0-preview.16
Note: any other combination probably won't exhibit the issue -- did not try all combinations but so far, seems related to 21.1 w/ both packages installed
Repro Steps:
1. Create a few buttons in a new uxml file in a new project, save the UXML
2. Add a new selector with nothing in it and save the uss file
Result: The buttons' styles should become flat, Buttons do not look like Buttons anymore
Expected: Buttons keep their original style
Notes:
- Does not limit itself to Buttons.
- Reloading the UI Builder does not make the problem go away. You need to physically remove the USS file, start afresh with a new UXML, and then Reload the UI Builder window to get the original styles back.
Bug reported here: https://forum.unity.com/threads/builder-applies-styles-from-a-uss-file-that-is-not-actually-loaded.1157354/
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment