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. Jaxom

    Dec 10, 2021 03:43

    I think they are trying to say this is the duplicate that is already fixed.

    HD RP: HDRP Template fills the Console with "Shader error...couldn't open include file" messages after building the project (1342989)

  2. BunnyViking

    Dec 10, 2021 01:59

    Having this in a new project in 2021.2.5f1 with DXR

    There does not appear to be a duplicate issue

  3. Kadae

    Dec 09, 2021 16:10

    Rename Unity to Bugunity.

  4. Jaxom

    Dec 09, 2021 04:10

    Unity 2021.5f1 HDRP 12.1.2. I am having the same errors but only after I add a Terrain.

  5. Ali-Nagori

    Dec 08, 2021 22:56

    i also have this issue after Upgrading to 2021.2.5f1

  6. Safemilk

    Dec 08, 2021 14:36

    This happens to me in 2021.2.5f1 as well on HDRP 12.1.2

    I've actually noticed in builds that randomly the whole image flips upside down and stops rendering 3d, will still render UI but upside down. The game has to be restarted to fix. Feels potentially related?

  7. Anderw_Mad

    Dec 08, 2021 08:03

    I have the same problem!!!
    Change resolution, quality, models count and 'weight' could not change situation!

  8. WoutStandaert

    Dec 07, 2021 10:24

    I have this "Trying to access resource of type Texture with an invalid resource" error after upgrading to 2021.2.5f1 from 2021.2.0, in my final build, only on certain machines (GTX1660 super). Editor is fine, other machine with RTX3090 is fine.

  9. kmowers

    Dec 07, 2021 02:40

    We have the same issue in HDRP 12.1.2 (Unity 2021.2.5f1), and also looking for duplicate issue

  10. Brenton

    Dec 06, 2021 17:33

    This just started happening when I upgraded to Unity 2021.2.5f1.. Did anyone find the duplicate issue?

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.