Large Scale Scene Load In World Partition(Nanite) Crash

I make a test on a large scale scene. The model was imported from ue4 datasmith revit. I have imported all the models without error. All the static meshes open nanite and in the same level with world partition open. I can’t load them all in editor because the ue5 editor will crash. The erros logs are as below.

LoginId:e315866147ffa9722346229b5eee018b
EpicAccountId:6c7d257aacaa497daf4dbab23bdfbad3

Assertion failed: NumAllocatedRootPages >= (uint32)RootPages.Allocator.GetMaxSize() [File:D:/build/++UE5/Sync/Engine/Source/Runtime/Engine/Private/Rendering/NaniteStreamingManager.cpp] [Line: 1108]

UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

What can I do with this issue? Can it be fix?

I am having this same issue, my model has 25k actors…
Sometimes it crashes when I reload the datasmith file.
Did you solved it?

Hi @flypopo,
he added line in C:\Users\Owner\source\repos\UE50\Engine\Config
BaseEngine.ini
in section [/Script/Engine.RendererSettings]

[/Script/Engine.RendererSettings]
r.GPUCrashDebugging=false
;@VS2022 Added line increase r.Nanite.Streaming.NumInitialRootPages double from 2048

r.Nanite.Streaming.NumInitialRootPages=4096

Restart UE5 Editor again and new project → new level Add DataSmith Plugins
then import the file