Search Issue Tracker
Third Party Issue
Under Consideration for 2021.2.X, 2022.1.X
Votes
0
Found in
2021.2.10f1
2022.1.0b7
Issue ID
UUM-2667
Regression
No
MissingReferenceException on the VolumeManager when entering Play mode
How to reproduce:
1. Open the user's attached project
2. Open the 'Operator' Scene
3. Enter the Play mode
Expected result: No exceptions are in the Console
Actual result: Multiple 'MissingReferenceException: The object of type 'Volume' has been destroyed but you are still trying to access it.' are thrown in the Console
Reproducible with: 12.1.4 (2021.2.10f1), 13.1.5 (2022.1.0b7)
Could not test with: 7.7.1 (2019.4.35f1), 10.8.1 (2020.3.27f1) (Multiple compile errors), 14.0.0 (2022.2.0a4) ('Exception: SteamApi_Init returned false. Steam isn't running, couldn't find Steam, AppId is ureleased, Don't own AppId.')
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
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- The Shortcuts window cannot be docked when it is invoked from the Shortcut Helper Bar
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
- Crash on PPtr<Object>::operator when undoing "Modern UI Pack" elements
Resolution Note:
The issue is caused by double-registration of Volume components into VolumeManager by user code (DesktopManager.OnValidate() calling SetActive()). It is not supported to do object modifications such as calling SetActive() from OnValidate() (see https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnValidate.html). You can use EditorApplication.delayCall to defer the activation logic.