Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

HDRP (5.0) shadow errors

Discussion in '2019.1 Beta' started by hippocoder, Nov 3, 2018.

  1. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    This occurs weirdly when looking at some shadows, sometimes. If I go inside that shadow area, there's a large pause and it stops doing it for a while.

    Also 5.0 HDRP seems to be *behind* 4.1 - that is, it no longer has the fog distance option for volume fog.
     
  2. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    persists in alpha 8:

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEngine.Experimental.Rendering.HDPipeline.HDShadowManager.PrepareGPUShadowDatas (UnityEngine.Rendering.CullingResults cullResults, UnityEngine.Camera camera) (at Library/PackageCache/com.unity.render-pipelines.high-definition@5.0.0-preview/Runtime/Lighting/Shadow/HDShadowManager.cs:315)
    3. UnityEngine.Experimental.Rendering.HDPipeline.LightLoop.PrepareLightsForGPU (UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Experimental.Rendering.HDPipeline.HDCamera hdCamera, UnityEngine.Rendering.CullingResults cullResults, UnityEngine.Experimental.Rendering.HDPipeline.ReflectionProbeCullResults reflectionProbeCullResults, UnityEngine.Experimental.Rendering.HDPipeline.DensityVolumeList densityVolumes, UnityEngine.Experimental.Rendering.HDPipeline.DebugDisplaySettings debugDisplaySettings) (at Library/PackageCache/com.unity.render-pipelines.high-definition@5.0.0-preview/Runtime/Lighting/LightLoop/LightLoop.cs:1859)
    4. UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Camera[] cameras) (at Library/PackageCache/com.unity.render-pipelines.high-definition@5.0.0-preview/Runtime/RenderPipeline/HDRenderPipeline.cs:1075)
    5. UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera[] cameras) (at C:/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipeline.cs:43)
    6. UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, UnityEngine.Camera[] cameras, System.IntPtr loopPtr, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at C:/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:56)
    7.  
    I tried to narrow it down with a repro case but it's so intermittent and its frustrating. Has anyone had this?
     
  3. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    934
    Hi,

    This is already fix but in unpublished version. I advice people to not move to 2019.1 alpha for HDRP, as it there is currenty regression on real time reflection and team focus on 2018.3
     
    Tartiflette and hippocoder like this.
  4. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Thanks, I have moved to 2018 beta until such a time it's safe :)