HDRP (5.0) shadow errors

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.

persists in alpha 8:

NullReferenceException: Object reference not set to an instance of an object
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)
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)
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)
UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera[] cameras) (at C:/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipeline.cs:43)
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)

I tried to narrow it down with a repro case but it’s so intermittent and its frustrating. Has anyone had this?

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

2 Likes

Thanks, I have moved to 2018 beta until such a time it’s safe :slight_smile: