Partially lost landscape collision

Hi
My landscape is separated into 16 levels (A1-D4). In one of them I lost collision somehow (A1). When I copy broken landscape part into main level (D4), collision works, after putting it back in original level (A1), doesn’t work again.
Is there any way to recreate/recalculate collision for broken Landscape (A1).
Recreating entire sector is not an option.
Thank you.

Hi ,

Try using the console command “RecreateLandscapeCollision”, does this resolve the collision error you are seeing on your end? In addition, have you used the landscape visibility tool to paint any holes on your landscape?

Hi ,

No I haven’t used landscape visibility tool to paint holes.
Using console command “RecreateLandscapeCollision” result with error

“PIE:Warning: Warning AttachTo: ‘/Landscape_A_1.Landscape_A_1:PersistentLevel.LandscapeProxyA1.RootComponent0’ is not static , cannot attach ‘/Landscape_A_1.Landscape_A_1:PersistentLevel.LandscapeProxyA1.LandscapeHeightfieldCollisionComponent_24’ which is static to it. Aborting.”

I don’t know how Landscape_A_1 become “movable”, and how to turn it back to “Static” again, since there is no mobility option for landscape.

Any suggestions?
Thank You!

Hi .
I found solution for my problem.
You can simply copy the landscape, and paste it into a text editor like notepad, and replace all “Mobility=Movable” with “Mobility=Static”, then copy it back into the ue4 editor. Now you have two LandscapeProxys, Delete “Movable” and execute console command “RecreateLandscapeCollision”. Worked for me.
Thank you.
Cheers!

I’m happy to hear that you have found a solution to the error you are experiencing. I will mark this as answered for tracking purposes. If the error returns, please feel free to post back here and I’ll be happy to take another look.