diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index eadbecca818..1da9383b377 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -595,6 +595,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed some GCAlloc in the debug window. - Fixed shader graphs not casting semi-transparent and color shadows (case 1242617) - Fixed thin refraction mode not working properly. +- Fixed assert on tests caused by probe culling results being requested when culling did not happen. (case 1246169) ### Changed - Improve MIP selection for decals on Transparents diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs index 668e781ec32..d9fed5800ad 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs @@ -2938,7 +2938,7 @@ ref HDCullingResults cullingResults } } - if (hdCamera.frameSettings.IsEnabled(FrameSettingsField.PlanarProbe)) + if (hdCamera.frameSettings.IsEnabled(FrameSettingsField.PlanarProbe) && hdProbeCullState.cullingGroup != null) HDProbeSystem.QueryCullResults(hdProbeCullState, ref cullingResults.hdProbeCullingResults); else cullingResults.hdProbeCullingResults = default;