Search Issue Tracker
Fixed in 2022.2.0a1
Fixed in 2022.1.X, 2022.2.X
Votes
4
Found in
2022.1.7f1
Issue ID
UUM-6527
Regression
No
"MissingReferenceException" is thrown when spawning Camera during runtime and then exiting Playmode
How to reproduce:
1. Open the attached project "2022Testing.zip"
2. Enter Play Mode
3. Switch to the Scene view window
4. Exit Play Mode
Expected results: No errors in the Console window
Actual results: "MissingReferenceException: The object of type 'UniversalAdditionalCameraData' has been destroyed but you are still trying to access it." is thrown in the Console window
Reproducible with: 2022.1.7f1
Not reproducible with: 2019.4.40f1, 2020.3.36f1, 2021.3.5f1, 2022.2.0a1, 2022.2.0a17
Reproducible on: Windows 10
Comments (3)
-
trombonaut
Dec 07, 2023 17:51
Not backported to 2022.1.23 it seems
-
slippyfrog
Nov 21, 2022 14:30
Also, this breaks Unity results in unity entering an indeterminate and inoperable state. To continue to work, Unity must be restarted.
The expected result provided in the ticket does not infer that Unity stops working. To articuate the severity of the issue, the expected result is that Unity should continue to function correctly after exiting play mode.
We have been unable to migrate to Unity 2022.1.X as a result of this issue.
-
slippyfrog
Nov 21, 2022 14:24
This issue has been observed on Mac OS as well:
https://forum.unity.com/threads/null-universaladditionalcameradata-in-volumedebugsettings-cs.1287101/#post-8578582
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 2022.2):
Fixed by unknown PR in 2022.2.0a1