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
- Points Lights are getting culled prematurely when using Forward+ and Deferred+ rendering paths
- Search's Indexing settings in the Preferences window are not searchable
- Crash on block_locate_free when opening a specific project
- "Project connected" pop opens again after closing it
- Cloud Code Authoring logs "JsAssetHandler:OpenAsset (int,int) does not match any of [OnOpenAssetAttribute] expected signatures" when opening or switching scenes and having the Deployment Package Installed
Add comment