Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1348374
Regression
No
[HDRP] MissingReferenceException is thrown when Volume is destroyed after its Layer is changed
How to reproduce:
1. Open the user's attached project and VolumeBugReproducible scene
2. Enter the Play mode and observe the Console window
Expected result: there are no errors
Actual result: multiple MissingReferenceException errors appear
Reproducible with: 10.5.1 (2020.3.14f1), 11.0.0 (2021.1.15f1), 12.0.0 (2021.2.0b4, 2022.1.0a2)
Could not test with: 2019.4 ('VolumeManager' does not contain a definition for 'GetVolumes')
Error that appears:
"MissingReferenceException: The object of type 'Volume' 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."
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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
Resolution Note (fix version 12.0.0):
Fixed in: 2022.1.0a6 (HDRP 12.0.0)