Game and scene view black with this error after updating to Unity 6 HDRP

This happens after i bake reflection probes.

AssertionException: Assertion failure. Value was False
Expected: True
UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at <b5bf0c891ea345fe93688f835df32fdc>:0)
UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition, System.String message) (at <b5bf0c891ea345fe93688f835df32fdc>:0)
UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition) (at <b5bf0c891ea345fe93688f835df32fdc>:0)
UnityEngine.Rendering.HighDefinition.ReflectionProbeTextureCache.ReserveReflectionProbeSlot (UnityEngine.Rendering.HighDefinition.HDProbe probe) (at ./Library/PackageCache/com.unity.render-pipelines.high-definition/Runtime/Lighting/Reflection/ReflectionProbeTextureCache.cs:644)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.PrepareGPUProbeData (UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, UnityEngine.Rendering.CullingResults cullResults, UnityEngine.Rendering.HighDefinition.HDProbeCullingResults hdProbeCullingResults, System.Int32 processedLightCount) (at ./Library/PackageCache/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoop.cs:1593)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.PrepareLightsForGPU (UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, UnityEngine.Rendering.CullingResults cullResults, UnityEngine.Rendering.HighDefinition.HDProbeCullingResults hdProbeCullingResults, UnityEngine.Rendering.HighDefinition.DebugDisplaySettings debugDisplaySettings, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest) (at ./Library/PackageCache/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/LightLoop.cs:1728)
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/Runtime/RenderPipeline/HDRenderPipeline.cs:2795)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, System.Collections.Generic.List`1[T] cameras) (at ./Library/PackageCache/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs:2392)
UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, System.Collections.Generic.List`1[T] cameras) (at <b5bf0c891ea345fe93688f835df32fdc>:0)
UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipelineAsset, System.IntPtr loopPtr, UnityEngine.Object renderRequest, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at <b5bf0c891ea345fe93688f835df32fdc>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

It will also crash if I press the play button afterwards.

This only happens after I bake reflection probes. If I leave them at realtime it works. This happens if i create a new scene with 3 gameobjects and one reflection probe.

Figured it out! A unity default project settings folder from an older version of unity was the problem. Deleted the folder along with the default settings and now everything works.

Hi, I’m having the same problem with some projects, any idea where the folder was ? Or what was the name of the folder or what script it contained ?

1 Like