I am looking to update a game that was originally created with a build-in rendering pipeline to work with HDRP.
However, I found that particle effects are not available in HDRP.
Therefore, we imported the particle effects converted to HDRP distributed at the following site into our project.
[https://www.bigrookgames.com/2020/08/20/free-assets-particle-packs-converted-to-hdrp-part-1-unity/][1]
As I proceeded, I noticed one odd thing.
The game was displaying correctly in scene view, but in game view, I could only see a black screen.
When I displayed the console, I received the following error message.
Can anyone help me find a solution?
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.HighDefinition.HDShadowManager.PrepareGPUShadowDatas (UnityEngine.Rendering.CullingResults cullResults, UnityEngine.Rendering.HighDefinition.HDCamera camera) (at Library/PackageCache/com.unity.render-pipelines.high-definition@10.8.1/Runtime/Lighting/Shadow/HDShadowManager.cs:692)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.PrepareLightsForGPU (UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, UnityEngine.Rendering.CullingResults cullResults, UnityEngine.Rendering.HighDefinition.HDProbeCullingResults hdProbeCullingResults, UnityEngine.Rendering.HighDefinition.DensityVolumeList densityVolumes, UnityEngine.Rendering.HighDefinition.ProbeVolumeList probeVolumes, UnityEngine.Rendering.HighDefinition.DebugDisplaySettings debugDisplaySettings, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest) (at Library/PackageCache/com.unity.render-pipelines.high-definition@10.8.1/Runtime/Lighting/LightLoop/LightLoop.cs:2790)
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@10.8.1/Runtime/RenderPipeline/HDRenderPipeline.cs:2500)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Camera[] cameras) (at Library/PackageCache/com.unity.render-pipelines.high-definition@10.8.1/Runtime/RenderPipeline/HDRenderPipeline.cs:2288)
UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera[] cameras) (at <3be1a7ff939c43f181c0a10b5a0189ac>:0)
UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, System.IntPtr loopPtr, System.Collections.Generic.List`1[T] renderRequests, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at <3be1a7ff939c43f181c0a10b5a0189ac>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
[1]: https://www.bigrookgames.com/2020/08/20/free-assets-particle-packs-converted-to-hdrp-part-1-unity/
↧