Search Issue Tracker
Active
Votes
0
Found in
6000.0.22f1
Issue ID
UUM-84102
Regression
No
UI Builder Broken Direct Asset Reference Overrides
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/OverrideTest-Override.uxml” Asset in the Project window
3. Select the “TemplateContainer/Example” from the UI Builder Hierarchy
4. Override an attribute (Set “Focusable” to checked)
5. Save the Asset (File > Save)
6. Observe that the “Test Document” and “Test Material” attributes now appear as “None”
7. Unset the attribute that was overridden (Right click on “Focusable” and press “Unset”)
8. Observe that the “Test Document” and “Test Material” attributes now have their values back
Expected result: Overriding attributes does not affect other attributes
Actual result: Overriding attributes cause other attributes to be null
Reproducible with: 6000.0.22f1
Couldn’t test with: 2021.3.44f1, 2022.3.50f1 - No support for “UxmlElement” or “UxmlAttribute” attributes
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Notes: Inspecting the uxml source while reproducing, it appears that the attributes “TestDocument” and “Test Material” are not actually overridden/set to null. Also, while Unset appears to restore the values of “Test Document” and “Test Material”, the Unset operation doesn't work (note that the UI Builder window doesn't show any changes '*'). If you reload the file, you can see that the attributes still appear to be null.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- EditorGUILayout.LabelField displays black text when the "EditorStyles.whiteBoldLabel" parameter is passed in
- The UI Toolkit TreeView Items get clipped when resizing the Game view window when Scale with Screen Size is set as the Scale Mode in the Panel Settings
- Components of a Prefab instance lose their values that are updated with the Reset() method when entering Play Mode
- UI Builder Broken Direct Asset Reference Overrides
- Universal 3D Sample project template takes a very long time to build.
Add comment