From 24bc2d7382ce6b013da74d83a850dcda0afef542 Mon Sep 17 00:00:00 2001 From: Fabien Houlmann Date: Fri, 3 Jul 2020 13:19:41 -0400 Subject: [PATCH] fix sky asserts with XR multipass --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 + .../Runtime/RenderPipeline/HDRenderPipeline.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index ebd70d25cba..5a6881b27a2 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -715,6 +715,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed the transparent SSR dependency not being properly disabled according to the asset dependencies (1260271). - Fixed issue with completely black AO on double sided materials when normal mode is set to None. - Fixed UI drawing of the quaternion (1251235) +- Fixed sky asserts with XR multipass ### 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 6816f23eeee..ac08a418363 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs @@ -1626,6 +1626,7 @@ protected override void Render(ScriptableRenderContext renderContext, Camera[] c cullingResults = req.cullingResults; skipClearCullingResults.Add(req.index); needCulling = false; + m_SkyManager.UpdateCurrentSkySettings(hdCamera); } } }