Search Issue Tracker

Fixed in 11.x

Fixed in 10.4.0

Fix In Review for 11.0.X

Votes

0

Found in [Package]

11.0.0

Issue ID

1306530

Regression

No

[HDRP] Editor crashes on increasing "Max Planer Reflection On Screen" property value in the HDRP settings

Package: Scriptable Render Pipeline HD

-

On changing any value of "Max Planer Reflection On Screen" RTHandle.Initialize error thrown in the console.

Steps to repro:
1. Create a new HDRP template project.
2. Edit > Project Settings > Quality > HDRP > Medium Quality.
3. Lighting > Reflections > Max Planer Reflection On Screen.
4. Increase the value.

Actual Result:
Editor crashes on increasing "Max Planer Reflection On Screen" value.

Expected Result:
"Max Planer Reflection On Screen" value should be increased without crashing the Editor.

Reproducible in:
2021.2.0a2, 2021.1.0b3, 2020.2.2f1, 2020.1.2f1, 2020.1.0b13 with Package Version 11.0.0, 10.2.0, 9.0.0-preview.33.

Working Fine in:
2020.1.0b13 Package Version9.0.0-preview.13.

Note: Could not check on MAc due to https://fogbugz.unity3d.com/f/cases/1298442/

Environment:
Occurring on Windows 10 & Mac 10.15.

Stack trace:
Error while building Render Graph.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

ArgumentException: Invalid Compute Buffer creation descriptor: Compute Buffer count must be non zero.
UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceRegistry.ValidateComputeBufferDesc (UnityEngine.Experimental.Rendering.RenderGraphModule.ComputeBufferDesc& desc) (at E:/Setup/Unity 2021.1.0b3/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.render-pipelines.core/Runtime/RenderGraph/RenderGraphResourceRegistry.cs:541)
UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceRegistry.CreateComputeBuffer (UnityEngine.Experimental.Rendering.RenderGraphModule.ComputeBufferDesc& desc, System.Int32 transientPassIndex) (at E:/Setup/Unity 2021.1.0b3/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.render-pipelines.core/Runtime/RenderGraph/RenderGraphResourceRegistry.cs:350)
UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph.CreateComputeBuffer (UnityEngine.Experimental.Rendering.RenderGraphModule.ComputeBufferDesc& desc) (at E:/Setup/Unity 2021.1.0b3/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.render-pipelines.core/Runtime/RenderGraph/RenderGraph.cs:466)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.BuildCoarseStencilAndResolveIfNeeded (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph renderGraph, UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, System.Boolean resolveOnly, UnityEngine.Rendering.HighDefinition.HDRenderPipeline+PrepassOutput& output) (at E:/Setup/Unity 2021.1.0b3/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.Prepass.cs:711)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.RenderPrepass (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph renderGraph, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle colorBuffer, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle sssBuffer, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle vtFeedbackBuffer, UnityEngine.Rendering.CullingResults cullingResults, UnityEngine.Rendering.CullingResults customPassCullingResults, UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest, System.Collections.Generic.List`1[T] aovBuffers) (at E:/Setup/Unity 2021.1.0b3/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.Prepass.cs:275)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.ExecuteWithRenderGraph (UnityEngine.Rendering.HighDefinition.HDRenderPipeline+RenderRequest renderRequest, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest, System.Collections.Generic.List`1[T] aovBuffers, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer commandBuffer) (at E:/Setup/Unity 2021.1.0b3/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs:60)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.ExecuteRenderRequest (UnityEngine.Rendering.HighDefinition.HDRenderPipeline+RenderRequest renderRequest, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest) (at E:/Setup/Unity 2021.1.0b3/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs:2119)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

RTHandle.Initialize should only be called once before allocating any Render Texture. This may be caused by an unreleased RTHandle resource.
Unreleased RTHandles:
MaxZ mask 8x
MaxZ mask
Dilated MaxZ mask

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.