Rendering Crash in 5.7 - PreshadowCacheLayout.RemoveElement

Anyone else encounter this? I only see it in packaged build, but it’s persistent!

If it helps, here’s some notes on my project’s settings:

  • No Lumen, no Nanite, no VSMs, no raytracing
  • Baked lighting, using all Stationary lights. Some dynamic lights from gameplay elements.
  • Modified shadow configs:
    • r.Shadow.MinResolution=64
    • r.Shadow.RadiusThreshold=0.001
    • r.Shadow.TexelsPerPixel=16

[2026.05.27-17.26.38:641][987]LogWindows: Error: Assertion failed: Scene->PreshadowCacheLayout.RemoveElement( CachedShadow->X, CachedShadow->Y, CachedShadow->ResolutionX + CachedShadow->BorderSize * 2, CachedShadow->ResolutionY + CachedShadow->BorderSize * 2) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Renderer\Private\ShadowSetup.cpp] [Line: 3170]