Search Issue Tracker
Fixed in 2023.1.0a1
Fixed in 2022.2.X, 2022.2.0b2, 2023.1.X
Votes
1
Found in
2022.2.0a13
Issue ID
UUM-1572
Regression
Yes
[Linux] "Select Icon" dropdown throws "MissingReferenceException" errors when being rapidly opened and closed
How to reproduce:
1. Create and open a new project
2. In the Hierarchy select the "Main Camera" Game Object
3. In the Inspector spam click the cube icon in the top left corner of the panel to open and close the "Select Icon" dropdown
4. While spam clicking observe the console output
Expected result: the console doesn't throw any errors
Actual result: a "MissingReferenceException" error is thrown
Reproducible with: 2020.3.33f1, 2021.3.1f1, 2022.1.0f1, 2022.2.0a10
Not reproducible with: 2019.4.37f1
Reproducible on Ubuntu 20.04
Not reproducible on Windows 10
Error:
MissingReferenceException: The object of type 'HostView' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
Note: after throwing the error the opened dropdown will remain open with no content inside of it after having clicked away to close it
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2023.1):
https://ono.unity3d.com/unity/unity/pull-request/144046/_/platform/editor/linux/fix-null-error-case-1402086
Resolution Note (fix version 2022.2):
backport PR : https://ono.unity3d.com/unity/unity/pull-request/144849/_/2022.2/backport/platform/editor/linux/missing-reference-uum1735