Search Issue Tracker
Fixed
Fixed in 6000.0.18f1, 7000.0.0a1
Votes
0
Found in
6000.0.13f1
Issue ID
UUM-76796
Regression
Yes
Style Class .unity-disabled is added to Template Element when a Binding is removed from a property
Steps to reproduce:
- Create or open any Project with the UI Toolkit installed
- Create a "UI Document" Asset and open it
- Add any UI Element to the Hierarchy
- Right click it and select "Create Template" and select it
- In the UI Builders Inspector hover over any of the values and click the kebab menu on the left of the values and select "Add binding..." and add any type of Binding
- Right click the icon that now appears instead of the kebab menu and select "Remove binding"
- Observe "Stylesheet" section in the UI Builders Inspector for that Element
Actual results: .unity-disabled Class is added to the Template Element
Expected results: No additional selectors are added to the Element
Reproducible with versions: 2023.3.0a17, 6000.0.13f1
Not reproducible with versions: 2021.3.40f1, 2022.3.40f1, 2023.3.0a16
Tested on (OS): macOS Sonoma, Windows 11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment