Search Unity

Bug 1383609 Reproduced after upgrade to 2021.2.5f1

Discussion in 'High Definition Render Pipeline' started by eggsamurai, Dec 3, 2021.

  1. eggsamurai

    eggsamurai

    Joined:
    Oct 10, 2015
    Posts:
    114
    mitchytd, kmowers and cLick1338 like this.
  2. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    I reported the same issue here:
    https://forum.unity.com/threads/unity-2021-2-is-now-available.1187908/page-4#post-7706962

    Seems a bit different then in the ticket. but same effect (basically the editor is barely usable in HDRP with 2021.2.5.
     
    mitchytd likes this.
  3. KyleOlsen

    KyleOlsen

    Joined:
    Apr 3, 2012
    Posts:
    237
    Seeing the same thing here after updating to 2021.2.5f1
     
  4. SpreadcampShay

    SpreadcampShay

    Joined:
    Dec 9, 2010
    Posts:
    180
    Got the same problem. I thought it was something I did with new code until I saw this! Yeah if it's Duplicate I'd like to know the link to the original case too
     
  5. wm-VR

    wm-VR

    Joined:
    Aug 17, 2014
    Posts:
    123
    Not sure if this error is related to the one I get randomly when playing around with lights in my HDRP scene.

    ArgumentException: Trying to access resource of type Texture with an invalid resource index 42
    UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceRegistry.CheckHandleValidity (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceType type, System.Int32 index) (at Library/PackageCache/com.unity.render-pipelines.core@12.1.2/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@12.1.2/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@12.1.2/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@12.1.2/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@12.1.2/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@12.1.2/Runtime/Lighting/Shadow/HDShadowAtlas.cs:274)
    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@12.1.2/Runtime/Lighting/Shadow/HDShadowManager.cs:899)
    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@12.1.2/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@12.1.2/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs:149)
    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@12.1.2/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs:346)
    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@12.1.2/Runtime/RenderPipeline/HDRenderPipeline.cs:2081)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
     
  6. wm-VR

    wm-VR

    Joined:
    Aug 17, 2014
    Posts:
    123
    My mistake. I saw that this bug has already been reported.
     
  7. foonix

    foonix

    Joined:
    Dec 15, 2019
    Posts:
    20
    eggsamurai and jeremedia like this.
  8. Ghosthowl

    Ghosthowl

    Joined:
    Feb 2, 2014
    Posts:
    228
  9. jeremedia

    jeremedia

    Joined:
    Apr 21, 2015
    Posts:
    63
    Happens eventually in my path-tracing only project version as well. I'll share a local temporary fix if I can work it out. If someone else figures out the bug please share. Would love to get back to work (on that version). Very odd that such an utterly Unity-breaking bug could make it through.
     
  10. cLick1338

    cLick1338

    Joined:
    Feb 23, 2017
    Posts:
    74
    Same issue here, breaks both Editor and build after a few minutes of running (2021.2.5f1). Never happened previously. Curiously the game view becomes fipped (upside down) and mirrorred (but rendering breaks).

    Bumping this since I think there's a risk the report on the issue tracker was marked duplicate by mistake and will be ignored.
     
    jeremedia likes this.
  11. jonasAmeizing

    jonasAmeizing

    Joined:
    Feb 5, 2014
    Posts:
    4
    Exactly same thing happening with my project after updating to 2021.2.5
     
  12. olavrv

    olavrv

    Joined:
    May 26, 2015
    Posts:
    515
    Same here...
     
  13. Julien_Unity

    Julien_Unity

    Unity Technologies

    Joined:
    Nov 17, 2015
    Posts:
    72
    This issue has been fixed on latest master and should be available in the next release.
     
  14. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    Hey, thanks for info. By next release, do you mean 2021.2.6, or next HDRP release? Is this now always coupled?
     
  15. eggsamurai

    eggsamurai

    Joined:
    Oct 10, 2015
    Posts:
    114
    This Friday? Great.
     
    olavrv likes this.
  16. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    Unfortunately, with Release 2021.2.6 the bug still occurs. Just had a test run, and after like 10 minutes in play mode same thing, same error messages, scene view goes grey....
    Will there be an additional HDRP release? If yes, when would you expect this to happen? 2021.2 is basically unusable with HDRP at the moment with this bug, also one of the IMO most important features (DLSS) seems also broken / not yet usable. I think this Tech Stream is very important to many projects due to FSR and DLSS, for us it's in fact that important that we leave the LTS path for the first time....
     
    Last edited: Dec 11, 2021
  17. eggsamurai

    eggsamurai

    Joined:
    Oct 10, 2015
    Posts:
    114
    Yes and 12.1.1 is not available with .2.5 .2.6. Grab the fix from github or wait new hdrp...
    I choose wait...
     
  18. olavrv

    olavrv

    Joined:
    May 26, 2015
    Posts:
    515
    Is this the same bug:

    Render Graph Execution error
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:LogError(Object)
    UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph:Execute()
    UnityEngine.Rendering.HighDefinition.HDRenderPipeline:ExecuteWithRenderGraph(RenderRequest, AOVRequestData, List`1, List`1, ScriptableRenderContext, CommandBuffer)
    UnityEngine.Rendering.HighDefinition.HDRenderPipeline:ExecuteRenderRequest(RenderRequest, ScriptableRenderContext, CommandBuffer, AOVRequestData)
    UnityEngine.Rendering.HighDefinition.HDRenderPipeline:Render(ScriptableRenderContext, List`1)
    UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, List`1)
    InvalidOperationException: RenderPass Render Shadow Maps was not provided with an execute function.
    at UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph.ExecuteCompiledPass (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph+CompiledPassInfo& passInfo, System.Int32 passIndex) [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph.ExecuteRenderGraph () [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph.Execute () [0x00000] in <00000000000000000000000000000000>:0
    at 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) [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.Rendering.HighDefinition.HDRenderPipeline.ExecuteRenderRequest (UnityEngine.Rendering.HighDefinition.HDRenderPipeline+RenderRequest renderRequest, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest) [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.Rendering.HighDefinition.HDRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, System.Collections.Generic.List`1[T] cameras) [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, System.IntPtr loopPtr, System.Collections.Generic.List`1[T] renderRequests) [0x00000] in <00000000000000000000000000000000>:0
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph:Execute()
    UnityEngine.Rendering.HighDefinition.HDRenderPipeline:ExecuteWithRenderGraph(RenderRequest, AOVRequestData, List`1, List`1, ScriptableRenderContext, CommandBuffer)
    UnityEngine.Rendering.HighDefinition.HDRenderPipeline:ExecuteRenderRequest(RenderRequest, ScriptableRenderContext, CommandBuffer, AOVRequestData)
    UnityEngine.Rendering.HighDefinition.HDRenderPipeline:Render(ScriptableRenderContext, List`1)
    UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, List`1)
    Error while building Render Graph.
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:LogError(Object)
    UnityEngine.Rendering.HighDefinition.HDRenderPipeline:ExecuteRenderRequest(RenderRequest, ScriptableRenderContext, CommandBuffer, AOVRequestData)
    UnityEngine.Rendering.HighDefinition.HDRenderPipeline:Render(ScriptableRenderContext, List`1)
    UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, List`1)
    ArgumentException: Trying to access resource of type Texture with an invalid resource index 41
    at UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceRegistry.CheckHandleValidity (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceType type, System.Int32 index) [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceRegistry.IncrementWriteCount (UnityEngine.Experimental.Rendering.RenderGraphModule.ResourceHandle& res) [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphBuilder.WriteTexture (UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle& input) [0x00000] in <00000000000000000000000000000000>:0
    at 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) [0x00000] in <00000000000000000000000000000000>:0
    at 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) [0x00000] in <00000000000000000000000000000000>:0
    at 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) [0x00000] in <00000000000000000000000000000000>:0
    at 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) [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.Rendering.HighDefinition.HDRenderPipeline.ExecuteRenderRequest (UnityEngine.Rendering.HighDefinition.HDRenderPipeline+RenderRequest renderRequest, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest) [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.Rendering.HighDefinition.HDRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, System.Collections.Generic.List`1[T] cameras) [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, System.IntPtr loopPtr, System.Collections.Generic.List`1[T] renderRequests) [0x00000] in <00000000000000000000000000000000>:0
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    UnityEngine.Rendering.HighDefinition.HDRenderPipeline:ExecuteRenderRequest(RenderRequest, ScriptableRenderContext, CommandBuffer, AOVRequestData)
    UnityEngine.Rendering.HighDefinition.HDRenderPipeline:Render(ScriptableRenderContext, List`1)
    UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, List`1)
     
  19. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    This is the same bug. Unfortunately it also occurs in builds, leading to a crash.
     
    olavrv likes this.
  20. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    I’d choose wait, too, if we’d get any official word when we can expect a new HDRP release, and if this is not weeks ahead.
     
  21. SpreadcampShay

    SpreadcampShay

    Joined:
    Dec 9, 2010
    Posts:
    180
    I ended up using the 2022.1 beta after 2021.2.6 didn't fix this issue. Because I need to actually do stuff without it crashing on me. So far it seems to work well. It even fixed another issue I had with SRP Lens Flares. I did want to generally stay away from beta releases because of issues like this in them but it looks like the beta is actually more stable right now. At least for my small little project. Use it at your own risk of course.
     
    wm-VR likes this.
  22. wm-VR

    wm-VR

    Joined:
    Aug 17, 2014
    Posts:
    123
    I confirm. The bug still persists in 2021.2.6 in every frame

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

    ---

    ArgumentException: Trying to access resource of type Texture with an invalid resource index 43
    UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceRegistry.CheckHandleValidity (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphResourceType type, System.Int32 index) (at Library/PackageCache/com.unity.render-pipelines.core@12.1.2/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@12.1.2/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@12.1.2/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@12.1.2/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@12.1.2/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@12.1.2/Runtime/Lighting/Shadow/HDShadowAtlas.cs:274)
    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@12.1.2/Runtime/Lighting/Shadow/HDShadowManager.cs:899)
    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@12.1.2/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@12.1.2/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs:149)
    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@12.1.2/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs:346)
    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@12.1.2/Runtime/RenderPipeline/HDRenderPipeline.cs:2081)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
     
    kmowers likes this.
  23. cLick1338

    cLick1338

    Joined:
    Feb 23, 2017
    Posts:
    74
    Yep. Issue still happens exactly the same - 2021.2.6f1 / HDRP 12.1.2
     
    kmowers likes this.
  24. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    765
    The fix has been merged a few weeks ago but just hasn't landed yet in 2021.1 (HDRP 12.x.x) versions.
    For now, it just had landed on trunk/master and 2022.1.0b2 (HDRP 13.1.3).
    Backports takes a little bit longer, just be patient :)
     
    Darkgaze, cLick1338 and kmowers like this.
  25. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    Thanks for info. Would still be good to know how long it will take roughly to release new HDRP version. Is it days, weeks, months? We are now one week with a not properly working Unity release, isn't this handled as critical issue internally?
    On another note: Would it be safe to do the changes of the MR locally in our HDRP packages in the meantime?
     
  26. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    765
    I agree, it's a pain, it depends on a lot a people and it's not always easy to align when it's going to land because the SRP2Core process (putting HDRP in the Unity binary) is decoupled from the build generation process. We try to do it (SRP2Core) roughly once a month, so that's the best order of magnitude we can give.

    Yes, totally, that's why I linked the PR given that the change is only a few lines.
     
    Qleenie likes this.
  27. eggsamurai

    eggsamurai

    Joined:
    Oct 10, 2015
    Posts:
    114
    Great, really glad to see unity provide fix changeset link instead of search by myself...:p...
     
    chap-unity likes this.
  28. HANGIYA_2016

    HANGIYA_2016

    Joined:
    Jan 18, 2017
    Posts:
    36
    This bug seriously affects my work and makes me very angry
    Plz fix it as soon as possible
     
  29. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    Hey @chap-unity , I just tested the change (I changed the method "NewFrame" of class RenderGraphResources.cs, and while it seems it took longer, the error still appears.
    I think the stacktraces changed a bit, so I am attaching them here:

    Render Graph Execution error
    0x00007ff6eb6fe8cd (Unity) StackWalker::GetCurrentCallstack
    0x00007ff6eb705629 (Unity) StackWalker::ShowCallstack
    0x00007ff6ec64fcb3 (Unity) GetStacktrace
    0x00007ff6eccd265d (Unity) DebugStringToFile
    0x00007ff6ea806822 (Unity) DebugLogHandler_CUSTOM_Internal_Log
    0x00000293abf2bbd3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
    0x00000293abf2b84b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    0x00000293abf2b590 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
    0x00000293c30afeb5 (Mono JIT Code) UnityEngine.Debug:LogError (object)
    0x000002965539ab23 (Mono JIT Code) [RenderGraph.cs:707] UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph:Execute ()
    0x000002965539a97b (Mono JIT Code) [RenderGraph.cs:78] UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphExecution:Dispose ()
    0x000002965532d063 (Mono JIT Code) [HDRenderPipeline.RenderGraph.cs:349] UnityEngine.Rendering.HighDefinition.HDRenderPipeline:ExecuteWithRenderGraph (UnityEngine.Rendering.HighDefinition.HDRenderPipeline/RenderRequest,UnityEngine.Rendering.HighDefinition.AOVRequestData,System.Collections.Generic.List`1<UnityEngine.Rendering.RTHandle>,System.Collections.Generic.List`1<UnityEngine.Rendering.RTHandle>,UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Rendering.CommandBuffer)
    0x00000296552be21b (Mono JIT Code) [HDRenderPipeline.cs:2082] UnityEngine.Rendering.HighDefinition.HDRenderPipeline:ExecuteRenderRequest (UnityEngine.Rendering.HighDefinition.HDRenderPipeline/RenderRequest,UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Rendering.CommandBuffer,UnityEngine.Rendering.HighDefinition.AOVRequestData)
    0x0000029655276243 (Mono JIT Code) [HDRenderPipeline.cs:1856] UnityEngine.Rendering.HighDefinition.HDRenderPipeline:Render (UnityEngine.Rendering.ScriptableRenderContext,System.Collections.Generic.List`1<UnityEngine.Camera>)
    0x00000293bd7db959 (Mono JIT Code) UnityEngine.Rendering.RenderPipeline:InternalRender (UnityEngine.Rendering.ScriptableRenderContext,System.Collections.Generic.List`1<UnityEngine.Camera>)
    0x00000293bd785a33 (Mono JIT Code) UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,System.Collections.Generic.List`1<UnityEngine.Camera/RenderRequest>,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle)
    0x00000293bd785c98 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_intptr_object_AtomicSafetyHandle (object,intptr,intptr,intptr)
    0x00007ffb9173e034 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
    0x00007ffb9167e724 (mono-2.0-bdwgc) [object.c:3064] do_runtime_invoke
    0x00007ffb9167e8bc (mono-2.0-bdwgc) [object.c:3111] mono_runtime_invoke
    0x00007ff6eb6240c4 (Unity) scripting_method_invoke
    0x00007ff6eb61ece4 (Unity) ScriptingInvocation::Invoke
    0x00007ff6eb26205f (Unity) ScriptableRenderContext::ExtractAndExecuteRenderPipeline
    0x00007ff6ed0567c7 (Unity) Camera::ExecuteCustomRenderPipeline
    0x00007ff6ed059133 (Unity) Camera::RenderEditorCamera
    0x00007ff6ed05aa55 (Unity) Camera::RenderEditorCamera
    0x00007ff6eae683cf (Unity) Handles_CUSTOM_Internal_DrawCameraWithGrid
    0x00000293c2f0fc78 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Handles:Internal_DrawCameraWithGrid (UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters&,bool,bool)
    0x00000293c2f02433 (Mono JIT Code) UnityEditor.Handles:DrawCameraImpl (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,bool,UnityEditor.DrawGridParameters,bool,bool,bool,UnityEngine.GameObject[])
    0x00000293c2f01eb3 (Mono JIT Code) UnityEditor.Handles:DrawCameraStep1 (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters,bool,bool)
    0x00000293c2efe9cb (Mono JIT Code) UnityEditor.SceneView:DoDrawCamera (UnityEngine.Rect,UnityEngine.Rect,bool&)
    0x00000293c2ef136b (Mono JIT Code) UnityEditor.SceneView:DoOnGUI ()
    0x00000293c2ef062b (Mono JIT Code) UnityEditor.SceneView:OnSceneGUI ()
    0x00000293abc8115f (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
    0x00000293abc8040b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
    0x00000293ad69638b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint ()
    0x00000293ad693e14 (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&)
    0x00000293ad691c43 (Mono JIT Code) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Material,UnityEngine.Material,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeSlice`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeSlice`1<UnityEngine.Vector4>,UnityEngine.MaterialPropertyBlock,bool,System.Exception&)
    0x00000293ad68fbe3 (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChain:Render ()
    0x00000293ad5def83 (Mono JIT Code) UnityEngine.UIElements.UIRRepaintUpdater:Update ()
    0x00000293abc6188e (Mono JIT Code) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase)
    0x00000293ad5de69b (Mono JIT Code) UnityEngine.UIElements.Panel:UpdateForRepaint ()
    0x00000293ad5dd9db (Mono JIT Code) UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event)
    0x00000293abc610ef (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
    0x00000293abc60e03 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
    0x00000293abc60bbf (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:processEvent (int,intptr)
    0x00000293abc60adb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
    0x00000293abc6092d (Mono JIT Code) UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
    0x00000293abc609e6 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
    0x00007ffb9173e034 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
    0x00007ffb9167e724 (mono-2.0-bdwgc) [object.c:3064] do_runtime_invoke
    0x00007ffb9167e8bc (mono-2.0-bdwgc) [object.c:3111] mono_runtime_invoke
    0x00007ff6eb6240c4 (Unity) scripting_method_invoke
    0x00007ff6eb61ece4 (Unity) ScriptingInvocation::Invoke
    0x00007ff6eb618625 (Unity) ScriptingInvocation::Invoke<void>
    0x00007ff6eb743cea (Unity) Scripting::UnityEngine::GUIUtilityProxy::processEvent
    0x00007ff6ec14a2d6 (Unity) GUIView::processRetainedMode
    0x00007ff6ec67fabb (Unity) GUIView::OnInputEvent
    0x00007ff6ec14a0e7 (Unity) GUIView::processInputEvent
    0x00007ff6ec67885e (Unity) GUIView::DoPaint
    0x00007ff6ec681c4d (Unity) GUIView::RepaintAll
    0x00007ff6ec21c726 (Unity) PlayerLoopController::UpdateScene
    0x00007ff6ec21a70f (Unity) Application::TickTimer
    0x00007ff6ec655e7a (Unity) MainMessageLoop
    0x00007ff6ec65a69b (Unity) WinMain
    0x00007ff6ed96a652 (Unity) __scrt_common_main_seh
    0x00007ffc2d877034 (KERNEL32) BaseThreadInitThunk
    0x00007ffc2e2e2651 (ntdll) RtlUserThreadStart
    Error while building Render Graph.
    0x00007ff6eb6fe8cd (Unity) StackWalker::GetCurrentCallstack
    0x00007ff6eb705629 (Unity) StackWalker::ShowCallstack
    0x00007ff6ec64fcb3 (Unity) GetStacktrace
    0x00007ff6eccd265d (Unity) DebugStringToFile
    0x00007ff6ea806822 (Unity) DebugLogHandler_CUSTOM_Internal_Log
    0x00000293abf2bbd3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
    0x00000293abf2b84b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    0x00000293abf2b590 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
    0x00000293c30afeb5 (Mono JIT Code) UnityEngine.Debug:LogError (object)
    0x00000296552be2bb (Mono JIT Code) [HDRenderPipeline.cs:2085] UnityEngine.Rendering.HighDefinition.HDRenderPipeline:ExecuteRenderRequest (UnityEngine.Rendering.HighDefinition.HDRenderPipeline/RenderRequest,UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Rendering.CommandBuffer,UnityEngine.Rendering.HighDefinition.AOVRequestData)
    0x0000029655276243 (Mono JIT Code) [HDRenderPipeline.cs:1856] UnityEngine.Rendering.HighDefinition.HDRenderPipeline:Render (UnityEngine.Rendering.ScriptableRenderContext,System.Collections.Generic.List`1<UnityEngine.Camera>)
    0x00000293bd7db959 (Mono JIT Code) UnityEngine.Rendering.RenderPipeline:InternalRender (UnityEngine.Rendering.ScriptableRenderContext,System.Collections.Generic.List`1<UnityEngine.Camera>)
    0x00000293bd785a33 (Mono JIT Code) UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,System.Collections.Generic.List`1<UnityEngine.Camera/RenderRequest>,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle)
    0x00000293bd785c98 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_intptr_object_AtomicSafetyHandle (object,intptr,intptr,intptr)
    0x00007ffb9173e034 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
    0x00007ffb9167e724 (mono-2.0-bdwgc) [object.c:3064] do_runtime_invoke
    0x00007ffb9167e8bc (mono-2.0-bdwgc) [object.c:3111] mono_runtime_invoke
    0x00007ff6eb6240c4 (Unity) scripting_method_invoke
    0x00007ff6eb61ece4 (Unity) ScriptingInvocation::Invoke
    0x00007ff6eb26205f (Unity) ScriptableRenderContext::ExtractAndExecuteRenderPipeline
    0x00007ff6ed0567c7 (Unity) Camera::ExecuteCustomRenderPipeline
    0x00007ff6ed059133 (Unity) Camera::RenderEditorCamera
    0x00007ff6ed05aa55 (Unity) Camera::RenderEditorCamera
    0x00007ff6eae683cf (Unity) Handles_CUSTOM_Internal_DrawCameraWithGrid
    0x00000293c2f0fc78 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Handles:Internal_DrawCameraWithGrid (UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters&,bool,bool)
    0x00000293c2f02433 (Mono JIT Code) UnityEditor.Handles:DrawCameraImpl (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,bool,UnityEditor.DrawGridParameters,bool,bool,bool,UnityEngine.GameObject[])
    0x00000293c2f01eb3 (Mono JIT Code) UnityEditor.Handles:DrawCameraStep1 (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters,bool,bool)
    0x00000293c2efe9cb (Mono JIT Code) UnityEditor.SceneView:DoDrawCamera (UnityEngine.Rect,UnityEngine.Rect,bool&)
    0x00000293c2ef136b (Mono JIT Code) UnityEditor.SceneView:DoOnGUI ()
    0x00000293c2ef062b (Mono JIT Code) UnityEditor.SceneView:OnSceneGUI ()
    0x00000293abc8115f (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
    0x00000293abc8040b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
    0x00000293ad69638b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint ()
    0x00000293ad693e14 (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&)
    0x00000293ad691c43 (Mono JIT Code) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Material,UnityEngine.Material,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeSlice`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeSlice`1<UnityEngine.Vector4>,UnityEngine.MaterialPropertyBlock,bool,System.Exception&)
    0x00000293ad68fbe3 (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChain:Render ()
    0x00000293ad5def83 (Mono JIT Code) UnityEngine.UIElements.UIRRepaintUpdater:Update ()
    0x00000293abc6188e (Mono JIT Code) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase)
    0x00000293ad5de69b (Mono JIT Code) UnityEngine.UIElements.Panel:UpdateForRepaint ()
    0x00000293ad5dd9db (Mono JIT Code) UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event)
    0x00000293abc610ef (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
    0x00000293abc60e03 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
    0x00000293abc60bbf (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:processEvent (int,intptr)
    0x00000293abc60adb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
    0x00000293abc6092d (Mono JIT Code) UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
    0x00000293abc609e6 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
    0x00007ffb9173e034 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
    0x00007ffb9167e724 (mono-2.0-bdwgc) [object.c:3064] do_runtime_invoke
    0x00007ffb9167e8bc (mono-2.0-bdwgc) [object.c:3111] mono_runtime_invoke
    0x00007ff6eb6240c4 (Unity) scripting_method_invoke
    0x00007ff6eb61ece4 (Unity) ScriptingInvocation::Invoke
    0x00007ff6eb618625 (Unity) ScriptingInvocation::Invoke<void>
    0x00007ff6eb743cea (Unity) Scripting::UnityEngine::GUIUtilityProxy::processEvent
    0x00007ff6ec14a2d6 (Unity) GUIView::processRetainedMode
    0x00007ff6ec67fabb (Unity) GUIView::OnInputEvent
    0x00007ff6ec14a0e7 (Unity) GUIView::processInputEvent
    0x00007ff6ec67885e (Unity) GUIView::DoPaint
    0x00007ff6ec681c4d (Unity) GUIView::RepaintAll
    0x00007ff6ec21c726 (Unity) PlayerLoopController::UpdateScene
    0x00007ff6ec21a70f (Unity) Application::TickTimer
    0x00007ff6ec655e7a (Unity) MainMessageLoop
    0x00007ff6ec65a69b (Unity) WinMain
    0x00007ff6ed96a652 (Unity) __scrt_common_main_seh
    0x00007ffc2d877034 (KERNEL32) BaseThreadInitThunk
    0x00007ffc2e2e2651 (ntdll) RtlUserThreadStart
     
  30. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    nevermind, seems my changes got overwritten by Unity. Need to check how to do it persistently, have never changed something in Packages before....
     
  31. pauldrummond

    pauldrummond

    Joined:
    Oct 30, 2014
    Posts:
    145
    I hadn't seen this problem before but after updating to Unity 2021.2.6f1 on Mac OS 11.6.1 I'm getting it all the time. The scene/game view goes blank and console fills with the error "ArgumentException: Trying to access resource of type Texture with an invalid resource index 43". I have to quit and restart Unity to make it go away.
     
  32. eggsamurai

    eggsamurai

    Joined:
    Oct 10, 2015
    Posts:
    114
    Its really easy to ap
    Aha, I make srpCore package local and apply the fix directly, the bug gone.
     
    chap-unity likes this.
  33. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    Yes, did the same now. Copied core rp to other folder, changed the source file, and changed the manifest.json to pull from local folder, after restart it loaded the changed source file.
     
    chap-unity likes this.
  34. Simunek

    Simunek

    Joined:
    Jul 15, 2016
    Posts:
    49
    +1 by me
    - Also as somebody pointed out: Lens flares are also broken, It almost looks like that it messes with motion vectors and brakes TAA
     
    olavrv likes this.
  35. dexmex001

    dexmex001

    Joined:
    Oct 9, 2019
    Posts:
    24
    +1
    Temporary if directional light and SkyFog volume delete from scene resolve the problem.
    But need reset vol and light all time because drop this error randomly :\
    2021.2.6f1, HDRP 12.1.2
     
  36. Simunek

    Simunek

    Joined:
    Jul 15, 2016
    Posts:
    49
    2021.2.7 is out and I haven't found anything in the patch notes
    https://unity3d.com/unity/whats-new/2021.2.7
    Did somebody try it?
    Thanks!

    Btw funny story: I lost 48 hours trying to port my project back to 2020.3. Unsuccessfully... :) All the time, there were some compile errors. Some of them were in #if UNITY_2021_2 code blocks even though I was using 2020.3
     
  37. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    The bug is in the core rp project, see above in this thread. we need to wait for a core rp / HDRP release. Best option is to do the local fix as described above, which works well.
     
  38. andylewisart

    andylewisart

    Joined:
    Nov 4, 2013
    Posts:
    19
    Is it just me, or does DLSS frame rate boost currently only work with Ultra Performance at 8K?

    2021.2.6f1
     
    Last edited: Dec 16, 2021
  39. Enigma229

    Enigma229

    Joined:
    Aug 6, 2019
    Posts:
    135
    This fix that has been talked about...for those of us artists who don't know coding, what exactly needs to be done?
     
    eggsamurai likes this.
  40. eggsamurai

    eggsamurai

    Joined:
    Oct 10, 2015
    Posts:
    114
    copy yourProject\Library\PackageCache\com.unity.render-pipelines.core@12.1.2 folder
    to yourProject\Packages\

    replace yourProject\Packages\com.unity.render-pipelines.core@12.1.2\Runtime\RenderGraph\RenderGraphResources.cs
    with this one
     

    Attached Files:

  41. Enigma229

    Enigma229

    Joined:
    Aug 6, 2019
    Posts:
    135
    That did not work for me unfortunately.
     
  42. Simunek

    Simunek

    Joined:
    Jul 15, 2016
    Posts:
    49
    Unfortunately, it happened to me as well again even after replacing the script.
     
  43. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    Did you move the core rp project out of packaged and update the manifest accordingly? The fix definitely works, if applied correctly.
     
  44. Yokogeri

    Yokogeri

    Joined:
    Oct 14, 2013
    Posts:
    21
    Fix does not seem to work for me either unfortunately, really made sure to follow the instructions provided above
     
  45. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    make sure to update the manifest.json with path to the local patched local copy of core rp 12.1.2.
     
  46. TIHan

    TIHan

    Joined:
    Oct 28, 2013
    Posts:
    3
    This is a serious regression that has been in what is considered a "stable" release for almost a month; it effectively breaks Unity after using it for a certain amount of time. It doesn't just happen in the editor, but also when running on a full build of your game.

    The fix was made on November 25 but is still not available as an update. I can empathize with the Unity team of the difficulty of backporting and releasing updates; however, I can also empathize with customers when the product is rendered broken for a month. Customers can downgrade their project to mitigate the issue; though it is not always easy to do so. Suggesting to modify existing HDRP packages to fix the issue manually is something you really do not want to do; everything should *just* work.
     
  47. eggsamurai

    eggsamurai

    Joined:
    Oct 10, 2015
    Posts:
    114
    get used to it...I have tons of case id, waiting for the fix, lots of trick for il2cpp... at least our project is running and earning.
     
  48. Enigma229

    Enigma229

    Joined:
    Aug 6, 2019
    Posts:
    135
    Can you show me what the "path" is supposed to look like in this manifest file? When I open it, I see this:

    "com.unity.render-pipelines.high-definition": "12.1.2",
     
  49. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    it depends where you copied the "core rp" package to; see here how to reference a local folder:
    https://docs.unity3d.com/2021.2/Documentation/Manual/upm-manifestPrj.html

    so it needs to start with "file:" to reference local packages.
     
  50. Enigma229

    Enigma229

    Joined:
    Aug 6, 2019
    Posts:
    135
    This is the path to where I copied it into:

    D:\REPOS\2021.2.7f1\Packages\com.unity.render-pipelines.core@12.1.2

    Would I add this to the manifest?