Unity Issue Tracker - Deleted StyleSheet selector reappears after saving in the UI Builder
Closed
UUM-96181
Deleted StyleSheet selector reappears after saving in the UI Builder
Unity: UI Builder
Won't Fix
6.5.X
6.4.X
6.3.X
6.2.X
6.1.X
6.0.X
6000.1 is no longer a supported version of Unity. Please see corresponding 6000.2 port instead (if applicable)
Reproduction steps:
1. Open the attached “repro_IN-93239“ project
2. Open the “Assets/Test.unity“ Scene
3. Open the UI Builder (“Window → UI Toolkit → UI Builder“)
4. In the UI Builder Hierarchy, select the “ToggleButtonGroup“ element
5. In the UI Builder Inspector, scroll to the “StyleSheet“ section
6. Press “x“ on the “.hide“ selector so it’s removed
7. Save with the “Ctrl + S“ button combination on your keyboard or by pressing the “Save“ button (“File → Save“)
8. Observe the selectors in the “StyleSheet“ section
Expected result: The deleted “.hide“ selector is gone
Actual result: The deleted “.hide“ selector comes back to the selector list
Reproducible with: 6000.0.36f1, 6000.1.0b4, 6000.2.0a1
Couldn’t test with: 2022.3.57f1 - “ToggleButtonGroup“ not available yet in the UI Builder Library
Reproducible on: Windows 10 (22H2), Windows 11 (23H2) (user’s environment)
Not reproducible on: No other environments tested
Prioritise and Follow this issue
Have a workaround or additional info about this issue?