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
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
-
barbelot
Dec 05, 2021 18:42
Same issue here with 2021.2.5f1. My project is unusable.
Also cannot find the duplicate... -
Ghosthowl
Dec 05, 2021 02:06
Having this issue too - quite quickly after about 15 seconds. It came first in 2021.2.5f1. I did not have this is 2021.2.4f1. I also cannot find the duplicate like @BananaBoyDean has asked for.
-
Justin_Miersch
Dec 04, 2021 20:52
We also have this problem in HDRP 12.1.2 (Unity 2021.2.5f1)
-
flexmane
Dec 04, 2021 12:29
Also can't find the original issue. Can someone provide a link?
-
bananaboydean
Dec 03, 2021 22:49
This says its a duplicate, but where is the duplicated issue to track?
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
- "Unable to get the list of approved APIs." is thrown when testing the App Packages with Windows App Certification Kit
This is a duplicate of issue #1379350