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
- “You may not pass in objects that are already persistent” error is thrown when entering the Play Mode and the "Active Input Handling" system was changed in a custom Build Profile
- [Linux] Assertion failed on expression 'success && actual == size' error is thrown when building project to another partition with a different file system
- Import Activity window shows "(None)" in the Asset field when changing the path of the asset
- Material setting changes when saving the Scene
- Sprite Mask's Alpha Cutoff value dragging is too sensitive
Add comment