Search Issue Tracker
Fixed
Votes
0
Found in [Package]
12.1.2
Issue ID
1392894
Regression
Yes
Null Reference Exception is thrown when adding a Volume component to a GameObject
Reproduction steps:
1. Create a new URP project
2. Create a new empty GameObject and add a Volume Component to it
3. Observe the Console
Expected result: No exceptions are thrown in the Console
Actual result: 'NullReferenceException: Object reference not set to an instance of an object' is thrown
Reproducible with: 12.1.2 (2021.2.5f1, 2021.2.7f1)
Not reproducible with: 7.7.1 (2019.4.34f1), 10.8.1 (2020.3.25f1), 12.1.1 (2021.2.4f1), 12.0.0 (2022.1.0a1), 13.1.3 (2022.1.0b2), 13.1.4 (2022.1.0a1)
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Fixed in 12.0.0 (2022.1.0a1)