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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment