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
- Long Property names are not truncated in the Add Property dropdown in the Animation window when the Long Property name does not fit
- [iOS] High CPU load when device keyboard is open
- Selected Animation clip in the Animation window changes when the Domain Reload is triggered
- Animation window scrollbar keeps resetting when the scrollbar width is changed after adding an event
- LocalizationSettings.InitializationOperation hangs when re-entering Play Mode with Domain Reload disabled
Add comment