Search Issue Tracker


Fixed in 2023.2.0b17, 2023.3.0a13



Found in



Issue ID




"NullReferenceException" error when adding a URP Volume Component to a GameObject



How to reproduce:
1. Open the “Test Grass Shader Swap“ project
2. Open the “SampleScene”
3. In the Hierarchy window create a new GameObject
4. In the created GameObject add a Volume Component
5. Observe the Inspector and Console windows

Expected result: The Volume Component icon and name are visible in the Inspector and no errors are thrown
Actual result: The Volume Component icon and name are not visible in the Inspector and “NullReferenceException: Object reference not set to an instance of an object“ errors are thrown in the Console window

Reproducible with: 2023.2.0a13, 2023.2.0b13, 2023.3.0a10
Not reproducible with: 2021.3.31f1, 2022.3.11f1, 2023.1.16f1, 2023.2.0a12

Reproducible on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.