diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 82907fe0ea4..fb27dc08221 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed and optimize distance shadowmask fade. - Fix API warnings in Matcap mode on Metal. - Fix D3D validation layer errors w.r.t shadow textures when an atlas is not used. +- Fix missing renderer in LOD when building RTAS issue (case 1372965). ## [13.0.0] - 2021-09-01 diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDRaytracingManager.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDRaytracingManager.cs index 78039c1a7cf..c6b25c481d3 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDRaytracingManager.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDRaytracingManager.cs @@ -506,6 +506,7 @@ internal void BuildRayTracingAccelerationStructure(HDCamera hdCamera) { // Fetch the renderer that we are interested in Renderer currentRenderer = currentLOD.renderers[rendererIdx]; + if (currentRenderer == null) continue; // This objects should but included into the RAS AddInstanceToRAS(currentRenderer,