From c33418a7d1839441d44da45cfedf837a5c899c5e Mon Sep 17 00:00:00 2001 From: Julien Ignace Date: Thu, 16 Dec 2021 11:25:12 +0100 Subject: [PATCH 1/2] Fixed a crash with render graph viewer when render graph is not provided with an execution name --- .../Runtime/RenderGraph/RenderGraph.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.core/Runtime/RenderGraph/RenderGraph.cs b/com.unity.render-pipelines.core/Runtime/RenderGraph/RenderGraph.cs index 8a272aac2e0..153e9827a5a 100644 --- a/com.unity.render-pipelines.core/Runtime/RenderGraph/RenderGraph.cs +++ b/com.unity.render-pipelines.core/Runtime/RenderGraph/RenderGraph.cs @@ -648,7 +648,7 @@ public ComputeBufferDesc GetComputeBufferDesc(in ComputeBufferHandle computeBuff public RenderGraphExecution RecordAndExecute(in RenderGraphParameters parameters) { m_CurrentFrameIndex = parameters.currentFrameIndex; - m_CurrentExecutionName = parameters.executionName; + m_CurrentExecutionName = parameters.executionName != null ? parameters.executionName : "RenderGraphExecution"; m_HasRenderGraphBegun = true; m_Resources.BeginRenderGraph(m_ExecutionCount++); From 4667e50eaacb55538794a74cb2aa714085d83cb6 Mon Sep 17 00:00:00 2001 From: Julien Ignace Date: Thu, 16 Dec 2021 11:25:31 +0100 Subject: [PATCH 2/2] Update changelog --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 530f1ddc0f4..e2b12006104 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -82,6 +82,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed potential asymmetrical resource release in the volumetric clouds (case 1388218). - Fixed the fade in mode of the clouds not impacting the volumetric clouds shadows (case 1381652). - Fixed the rt screen space shadows not using the correct asset for allocating the history buffers. +- Fixed a crash with render graph viewer when render graph is not provided with an execution name. ### Changed - Converted most TGA textures files to TIF to reduce the size of HDRP material samples.