Search Issue Tracker
Fixed
Fixed in 6000.0.24f1, 6000.1.0a1, 7000.0.0a7
Votes
0
Found in
6000.0.22f1
6000.1.0a1
7000.0.0a1
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
- GetCurrentAnimatorClipInfoCount() and GetNextAnimatorClipInfoCount() return 0 when animator is in transition
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
Add comment