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
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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Add comment