Search Issue Tracker
Fixed
Fixed in 6000.2.6f1, 6000.3.0b3, 6000.4.0a1
Votes
0
Found in
6000.2.4f1
6000.3.0b1
Issue ID
UUM-116892
Regression
Yes
NullReferenceException and list items not saved when adding elements to List<VisualTreeAsset> UxmlAttribute in UI Builder
Reproduction steps:
1. Open the attached “IN-114385.zip” project
2. From the Project window, double-click on the “Test.uxml” to open in UI Builder
3. In the Hierarchy, select the “#WidgetInstantiator”
4. In the Inspector, under Attributes, expand the “Widget Test” list
5. Click the + icon to add new item to the list
6. Observe the Console
Expected result: No errors and list items are saved
Actual result: “NullReferenceException: Object reference not set to an instance of an object” is thrown and list items are not saved
Reproducible with: 6000.1.0a9, 6000.2.4f1, 6000.3.0b1
Not reproducible with: 6000.0.57f1, 6000.1.0a8
Reproducible on: Windows 11
Not reproducible on: no other environments tested
Note:
- Lists of primitive types (e.g., List<int>) work correctly
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