Search Issue Tracker

Fixed in 13.1.3

Votes

6

Found in [Package]

2022.1.0a16

Issue ID

1383806

Regression

Yes

[HDRP] Render Graph Execution errors thrown while changing values in HDRP settings

Package: Scriptable Render Pipeline HD

-

How to reproduce:
1. Create new HDRP project
2. Open Project Settings
3. Select HDRP in side panel find Lighting>Reflections>Max Planas Reflection On Screen
4. Move the slider to left or right
5. Observe Console and Scene tab

Actual result: Errors in Console and Scene tab does not render anything/flickering

Errors:
Render Graph Execution error
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

InvalidOperationException: RenderPass Render Shadow Maps was not provided with an execute function.
UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph.ExecuteCompiledPass (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph+CompiledPassInfo& passInfo, System.Int32 passIndex) (at Library/PackageCache/com.unity.render-pipelines.core@13.1.1/Runtime/RenderGraph/RenderGraph.cs:1346)
UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph.ExecuteRenderGraph () (at Library/PackageCache/com.unity.render-pipelines.core@13.1.1/Runtime/RenderGraph/RenderGraph.cs:1355)
UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph.Execute () (at Library/PackageCache/com.unity.render-pipelines.core@13.1.1/Runtime/RenderGraph/RenderGraph.cs:711)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

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

ArgumentException: Trying to access resource of type Texture with an invalid resource index 44
UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceRegistry.CheckHandleValidity (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceType type, System.Int32 index) (at Library/PackageCache/com.unity.render-pipelines.core@13.1.1/Runtime/RenderGraph/RenderGraphResourceRegistry.cs:191)
UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceRegistry.CheckHandleValidity (UnityEngine.Experimental.Rendering.RenderGraphModule.ResourceHandle& res) (at Library/PackageCache/com.unity.render-pipelines.core@13.1.1/Runtime/RenderGraph/RenderGraphResourceRegistry.cs:183)
UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceRegistry.GetRenderGraphResourceTransientIndex (UnityEngine.Experimental.Rendering.RenderGraphModule.ResourceHandle& res) (at Library/PackageCache/com.unity.render-pipelines.core@13.1.1/Runtime/RenderGraph/RenderGraphResourceRegistry.cs:242)
UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphBuilder.CheckResource (UnityEngine.Experimental.Rendering.RenderGraphModule.ResourceHandle& res, System.Boolean dontCheckTransientReadWrite) (at Library/PackageCache/com.unity.render-pipelines.core@13.1.1/Runtime/RenderGraph/RenderGraphBuilder.cs:284)
UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphBuilder.WriteTexture (UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle& input) (at Library/PackageCache/com.unity.render-pipelines.core@13.1.1/Runtime/RenderGraph/RenderGraphBuilder.cs:87)
UnityEngine.Rendering.HighDefinition.HDShadowAtlas.RenderShadowMaps (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph renderGraph, UnityEngine.Rendering.CullingResults cullResults, UnityEngine.Rendering.HighDefinition.ShaderVariablesGlobal& globalCBData, UnityEngine.Rendering.HighDefinition.FrameSettings frameSettings, System.String shadowPassName) (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/Lighting/Shadow/HDShadowAtlas.cs:280)
UnityEngine.Rendering.HighDefinition.HDShadowManager.RenderShadows (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph renderGraph, UnityEngine.Rendering.HighDefinition.ShaderVariablesGlobal& globalCB, UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, UnityEngine.Rendering.CullingResults cullResults, UnityEngine.Rendering.HighDefinition.ShadowResult& result) (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/Lighting/Shadow/HDShadowManager.cs:916)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.RenderShadows (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph renderGraph, UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, UnityEngine.Rendering.CullingResults cullResults, UnityEngine.Rendering.HighDefinition.ShadowResult& result) (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/RenderPipeline/HDRenderPipeline.LightLoop.cs:698)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.RecordRenderGraph (UnityEngine.Rendering.HighDefinition.HDRenderPipeline+RenderRequest renderRequest, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest, System.Collections.Generic.List`1[T] aovBuffers, System.Collections.Generic.List`1[T] aovCustomPassBuffers, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer commandBuffer) (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs:143)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.ExecuteWithRenderGraph (UnityEngine.Rendering.HighDefinition.HDRenderPipeline+RenderRequest renderRequest, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest, System.Collections.Generic.List`1[T] aovBuffers, System.Collections.Generic.List`1[T] aovCustomPassBuffers, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer commandBuffer) (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs:350)
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 Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/RenderPipeline/HDRenderPipeline.cs:2119)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Reproduced with: 2022.1.0a16
Does not reproduce with: 2022.1.0a15

Note: Errors can be cleared and Scene eventually starts rendering after some time.
Also reproducible changing LOD Bias, Max Local Fog On Screen, 2D Atlas Last Valid Map and several other options

Comments (2)

  1. DeadStack

    Feb 17, 2022 05:20

    When will these Render Graph Execution errors / Invalid resource index 44 be fixed? (2022.02)

  2. Angryman_80

    Dec 11, 2021 10:07

    Please fix this ASAP, I can't run my game for more than 2 minutes when it happens to me. Thank you!

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.