Search Issue Tracker
Fixed
Fixed in 2022.3.0f1, 2023.1.0b19, 2023.2.0a19
Votes
0
Found in
2022.2.17f1
2023.1.0b14
2023.2.0a12
Issue ID
UUM-34875
Regression
Yes
[URP] NullReferenceException error when creating new Lens Flare Data for Lens Flare (SRP) component
Steps to reproduce:
1. Open the attached “LensFlareBug” project
2. Open the “SampleScene” scene
3. Create an empty GameObject
4. To the GameObject add Lens Flare (SRP) component
5. Create new Lens Flare Data and observe the Console
Expected result: No errors are thrown
Actual result: “NullReferenceException: Object reference not set to an instance of an object UnityEngine.Rendering.CoreUtils.FixupDepthSlice (System.Int32 depthSlice, UnityEngine.Rendering.RTHandle buffer)” error is thrown
Reproducible with: 2022.2.10f1, 2022.2.17f1, 2023.1.0b13, 2023.1.0b14, 2023.2.0a6, 2023.2.0a12
Not reproducible with: 2021.3.24f1, 2022.2.9f1, 2023.1.0a1, 2023.1.0b12, 2023.2.0a1, 2023.2.0a5
Could not test with: 2020.3.48f1 (doesn’t have Lens Flare (SRP) component)
Reproduced on: macOS Monterey 12.2 (Intel)
Note: The issue isn’t reproducible with HDRP
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment