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
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
This is a duplicate of issue #UUM-115255