Search Issue Tracker
Active
Under Consideration for 6000.4.X, 6000.5.X, 6000.6.X
Votes
1
Found in
6000.4.0b4
6000.5.0a4
6000.6.0a1
Issue ID
UUM-132198
Regression
No
"MissingReferenceException" is thrown when creating a new UI Document Source Asset from the Preset window
Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Right-click in Hierarchy > UI Toolkit > UI Document
- In the Inspector, in UI Document Component, click on the preset icon (the sliders)
- In the Preset window, click "Create New UI Document Preset..." and Save it
- From the Project window, select the newly created preset
- In the UI Document Component, click "New" to create a Source Asset
- Observe the Console and the preset
Actual results: "MissingReferenceException: The object of type 'UnityEngine.UIElements.UIDocument' has been destroyed but you are still trying to access it." is thrown, and the created asset is not assigned
Expected results: no errors and the created asset is assigned to the "Source Asset" property
Reproducible with versions: 6000.4.0a2, 6000.4.0b4, 6000.5.0a4
Couldn't test with versions: 6000.0.65f1, 6000.3.4f1, 6000.4.0a1 (the "New" button does not exist)
Tested on (OS): Windows 11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Invalid Clip Method
- WebGPU error with Fantasy Kingdom and GPU Resident Drawer
- WebGPU fails with height fog in Fantasy Kingdom
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
Add comment