Search Issue Tracker
In Progress
In Progress in 6000.5.X
Votes
0
Found in
6000.4.0b4
6000.5.0a4
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment