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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment