Nanite Landscape crash when building it

It solved the problem to me. Finally, i could build a 4.033 x 4.033 Landscape after type this command that you told (landscape.Nanite.MarchingSquaresVisibility 0), using UE 5.3.2. Thank you, man!

Unfortunatelly that did not work for me ((( UE5.3.2 keeps crashing

1 Like

you saved my life

1 Like

Yup sounds good!!

Nope its not. I get this in my project, 5101x5101, very large detaied scuilpting and meshes,nanite, lumen. Its a ram issue pretty sure. A basic level,is tiny enough to avoid ram issue no doubt.I need more ram,sadly to avoid this .Shame this isn’t coded better.

If you’re using a World Partition level you can load smaller sections of the landscape and build Nanite for them piecemeal instead of building Nanite for the entire landscape all at once.

I love you this has been bugging me for a month :sparkling_heart:

Im having this issue again with a very large landscape broken up in 4 tiles.

landscape.Nanite.MarchingSquaresVisibility 0 doesnt exist in 5.7…. so thats no help unfortunately.

Sadly, ain’t perfect. I got around this by 1) disabling Nanite till sculpting is finished, and 2) splitting the Landscape into smaller landscape sub-levels (level streaming) and saving incrementally, then re-enabling Nanite. My computer managed to save in parts like this, hope this helps

Soooo, I actually found a fix for this which is this command.

landscape.Nanite.MultithreadBuild

I’ve a 12 core 24 thread CPU so I though this may help me and it did help. No crash and the landscape has been built now.

Unreal version 5.7.4 btw.

Edit1:
I can’t complete the Save process after that tho, So my landscape in Nanite ready now but everytime I try to save my project it stucks at 69% and stays that way for more than an hour now.

Any ideas?

Still doesn’t work for me anything map size beyond 16x16 crashes, here the numbers i got it to work for me:

Section Size: 255
Sections Per Component: 2x2
Number of Components: 32 x 32

Scale X: 100
Scale Y: 100
Scale Z: 100

After creating the landscape:

Enable Nanite: On
Build Menu: Build Nanite Only

World Partition: Enabled
Cell Size: 12800
Loading Range: 2 to 4

Project Settings Rendering:
Nanite: On
Virtual Shadow Maps: On
Hardware Ray Tracing: Off

Just have to wait for epic to find a better way to make Nanite map conversion without crashes.