Search Issue Tracker
Duplicate
Votes
0
Found in
6000.2.3f1
6000.3.0b1
6000.4.0a1
Issue ID
UUM-117291
Regression
Yes
MissingReferenceException when entering Play mode while UI Document selected in Hierarchy and Inspector window is locked
How to reproduce:
1. Open the attached project “IN-114113”
2. In the Hierarchy window, select “UIDocument“
3. Lock the Inspector window on “UIDocument”
4. Enter Play mode
5. Observe the result
Alternatively:
1. Open the attached project “IN-114113”
2. Open a second Inspector window
3. In the Hierarchy window, select “UIDocument“
4. Enter Play mode
5. Exit Play mode
6. Observe the result
Expected result: No error messages in the Console window
Actual result: Several error messages in the Console window
Reproducible with: 6000.2.1f1, 6000.2.3f1, 6000.3.0a5(f9a1fab5607a), 6000.3.0b1
Not reproducible with: 6000.0.57f1, 6000.2.0f1(eed1c594c913), 6000.3.0a4
Reproduced on: macOS 15.6 (M1)
Not reproduced on: No other environment tested
Note: Error Message: MissingReferenceException: The object of type 'UnityEngine.UIElements.UIDocument' has been destroyed but you are still trying to access it.
-
Resolution Note:
While this is not the same problem as mentioned in the case it duplicates, it's the same cause and that other bug has been fixed and ported already, making this present bug not reproducible on any of the latest releases.
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-115255
Add comment
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
This is a duplicate of issue #UUM-115255