Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

13.1.1

Issue ID

1383609

Regression

Yes

[HDRP] Render Graph Execution errors being constantly thrown and Scene no longer rendered after leaving Editor running

Package: Scriptable Render Pipeline HD

-

How to reproduce:
1. Create new HDRP project
2. In Hierarchy search bar enter "camera"
3. Select the only active object
4. Leave Editor running

Expected result: No errors in Console and Scene is still rendered
Actual result: Multiple errors thrown in Console and Scene is no longer rendered (turns gray)

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

Comments (25)

  1. MildlyInfuriating

    Jan 13, 2022 21:45

    Please Unity..

  2. kutamo

    Jan 06, 2022 01:48

    I have this issue as well, but found that if I start my game, then stop it and go to the scene view, it works fine again. Annoying yes, but a workaround at least. 2021.2.5f1 through 7f1.

  3. Matjio

    Dec 16, 2021 14:57

    Hi, we are very sorry for this outstanding issue. It is already fixed on our GitHub but we have had other issues which delayed the release of this fix. We are doing everything to publish a version with the fix as soon as possible. In the meantime the only possibility is to modify the HDRP code to fix it on your side. More information in this issue description: https://issuetracker.unity3d.com/issues/hdrp-render-graph-execution-error-on-renderpass-render-shadow-maps-was-not-provided-after-leaving-editor-open-for-a-while
    Best,
    Mathieu

  4. punk

    Dec 15, 2021 13:23

    Yep same problem in 2021.2.5f1 and 2021.2.6f1 - unusable, but for those who end up here 2021.2.4f1 seems to work fine for me

  5. VARtechLLC

    Dec 13, 2021 22:03

    Major bug, unable to accomplish anything...

  6. HANGIYA_2016

    Dec 13, 2021 06:38

    This bug seriously affects my work and makes me very angry
    Plz fix it as soon as possible

  7. Plync

    Dec 12, 2021 22:57

    I am also experiencing this. This needs to be fixed ASAP.

  8. mroshaw

    Dec 12, 2021 21:25

    Still getting this in 2021.2.6f1. Driving me nuts, as I'm having to restart the editor every 20 minutes.

  9. Cheo6

    Dec 11, 2021 16:52

    Still getting this bug when updating to 2021.2.6f1. It seems that a light casting shadow and a single 3d object are enough to cause this bug. This really needs to be fixed, hdrp is currently unusable !

  10. Safandjaro

    Dec 10, 2021 19:08

    I migrated my project to Unity 2021.2.5f1 today, and experience the same errors. It starts after about a few minutes while in the editor. Can't work on my project anymore.

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.