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
- SetComponentEnabled uses class instead of struct when constraining Enableable Component type
- [iOS] Application.deepLinkActivated does not get invoked while app is running when UIApplicationSceneManifest is added in Info.plist
- Inspector scroll area stretches when using components with nested serialized arrays on FBX model prefab instances
- Crash on ConstraintProjectionTree::projectionTreeBuildStep when ConfigurableJoint uses JointProjectionMode.PositionAndRotation and connected Rigidbody switches from kinematic to non-kinematic
- ScriptableObject asset is accessed during the lookup of Build Profiles when opening the Build Profiles Window
Add comment