Search Issue Tracker
Fixed
Fixed in 2021.3.35f1
Votes
1
Found in
2021.3.31f1
Issue ID
UUM-54394
Regression
No
NullReferenceException is thrown when loading multiple scenes consecutively using a script
How to reproduce:
1. Open the “IN-57355_repro“ project
2. Open the “MainScene“
3. Enter Play Mode
4. Observe the Console
Expected result: No error is seen
Actual result: An error is seen
Reproducible with: 2021.3.31f1
Not reproducible with: 2022.3.12f1, 2023.1.18f1, 2023.2.ob15, 2023.3.0a11
Fixed in: 2022.3.1f1
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environment tested
Error: NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.VolumeManager.ReplaceData (UnityEngine.Rendering.VolumeStack stack) (at ./Library/PackageCache/com.unity.render-pipelines.core@14.0.7/Runtime/Volume/VolumeManager.cs:334)
UnityEngine.Rendering.VolumeManager.Update (UnityEngine.Rendering.VolumeStack stack, UnityEngine.Transform trigger, UnityEngine.LayerMask layerMask) (at ./Library/PackageCache/com.unity.render-pipelines.core@14.0.7/Runtime/Volume/VolumeManager.cs:438)
UnityEngine.Rendering.VolumeManager.Update (UnityEngine.Transform trigger, UnityEngine.LayerMask layerMask) (at ./Library/PackageCache/com.unity.render-pipelines.core@14.0.7/Runtime/Volume/VolumeManager.cs:415)
camera.CameraController.Show (UnityEngine.Camera camera) (at Assets/Scripts/CameraController.cs:67)
CameraShower.Show () (at Assets/Scripts/CameraShower.cs:12)
CameraShower.Start () (at Assets/Scripts/CameraShower.cs:7)
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
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
HugeWill
Dec 05, 2023 12:02
Is this going to be fixed in 2021.3.31f? Seems like a pretty game breaking bug that happens both in editor and build...