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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Add comment