Search Issue Tracker
Fixed
Fixed in 2023.1.X, 2023.1.0a17
Votes
0
Found in
2023.1.0a13
Issue ID
UUM-15525
Regression
No
[APV] Nullref error when enabling APV for the first time
Reproduced on graphics/srp/devs 2022 09 27
Repro steps:
1) Create a new project
2) Run HDRP wizard
3) Enable APV
Alternative repro without creating a new project:
1) Delete folder HDRPDefaultResources
2) Run HDRP wizard
3) Enable APV
Result error each time APV is enabled:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.ProbeVolumeSceneData.SyncBakingSets () (at D:/Git/unity/Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeVolumeSceneData.cs:238)
UnityEngine.Rendering.ProbeVolumeSceneData.SetParentObject (UnityEngine.Object parent, System.String parentSceneDataPropertyName) (at D:/Git/unity/Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeVolumeSceneData.cs:158)
UnityEngine.Rendering.HighDefinition.HDRenderPipelineGlobalSettings.GetOrCreateAPVSceneData () (at D:/Git/unity/Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipelineGlobalSettings.cs:743)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline..ctor (UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset asset) (at D:/Git/unity/Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs:464)
UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset.CreatePipeline () (at D:/Git/unity/Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipelineAsset.cs:49)
UnityEngine.Rendering.RenderPipelineAsset.InternalCreatePipeline () (at <3dc8c3d475b7480280042091acae0978>:0)
UnityEditor.PopupCallbackInfo:SetEnumValueDelegate(Object, String[], Int32)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RendererScene::NotifyInvisible when GameObjects are deleted from the Hierarchy in a specific Scene
- "Import projects" button doesn't work in Unity Hub
- Animation is affected by TimeScale when setting Animator's updateMode to UnscaledTime in onDisable()
- Shader Graph generates 'İ' in the shader when using Turkish Regional format
- Crash on ParticleSystemUpdateData::CacheSubEmitters(ParticleSystem&) when shared subemitter referenced by multiple nested particle systems
Add comment