Rendering crashes: Assertion failed: NewRange.GetLowerBound().IsClosed() && NewRange.GetUpperBound().IsClosed()

Hi all,

I keep having this error when rendering a 50K sequence:
Assertion failed: NewRange.GetLowerBound().IsClosed() && NewRange.GetUpperBound().IsClosed() [File:D:\build++UE5\Sync\Engine\Source\Runtime\MovieScene\Private\MovieScene.cpp] [Line: 590]

Any ideas why?
Thank you!
X.

Hello there @Xeilaxtu!

The error you are receiving has multiple approaches for resoultion, let’s cover them one by one:

  • Open your Registry by typing “regedit” on Windows Start, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers, and change the values for TdrLevel and TdrDelay to 60. This will give your PC plenty of time to respond to a possible freeze/crash while rendering.

  • Update your nVIDIA drivers, make sure you are picking the “Clean Installation” option, as well as going for the “Developer” drivers, as these have more stable settings for engine work.

  • Please make sure you have the latest updates for both Unreal and Windows.

  • If your project has been recently updated to a new UE version, rendering settings from the previos build could be causing a conflict. In order to reset them, please search for DefaultGame.ini file, open it wirh a notepad, and delete all settings under the header [/Script/Engine.RendererSettings]

  • In Unreal Engine, reduce the values for engine scalabillty, to ensure your equipment is not being exerted.

  • Test disabling Hardware Raytracing from the engine

  • Finally, please make sure that no RTSS or overlocking are enabled for your video card during rendering.