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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
This is a duplicate of issue #UUM-115255