Navmesh Problems with landscape collision

Hey Guys!

I’m making my project using the landscape demo and I’ve sculpted the landscape as per my requirements. But the landscape collision doesn’t seem to update.

I’m having trouble laying my NavMesh Volumes in some areas as shown in the pic below.

but as soon as I set the collision preset on landscape to NoCollision, it works like a charm as seen below

By using the second solution my player falls through the ground as you might have guessed already.

How could I update or rebuild the collision on the landscape. Is this a bug or am I doing something wrong here?

[EDITOR VERSION - 4.7.5]
Thanks. Cheers.

Hey ,

There have been some landscape navmesh generation issues we’ve fixed for 4.8. Can you give 4.8 a try and see if your issues got solved?

You can also try messing around with navmesh generation settings, CellHeight comes to my mind here. Also, Landscape’s collision settings, other than NoCollision, could play a role here as well.

Cheers,

–mieszko

I’ve tried it with 4.8 and rebuild the entire area, but it doesn’t help.
As far as collision presets are concerned nothing works if I set any channel to block. It works with NoCollision and OverlapAll. But my player falls through the landscape when I go on it.

I’ve modified the landscape a bit and it doesn’t update the collision as per the new height. While playing in standalone my player goes into air as if it is walking on top of the previous landscape.

How can I update landscape collision?

It does work when I set the collision for pawn and vehicle to ignore in custom collision. But I want my to be able to move on the landscape.

This sounds like Landscape collision issue actually. I’ll pass this over to the support team then.

If you enter the console command “RecreateLandscapeCollision” does the navmesh properly update/

1 Like

Thanks a lot @ that solved the issue. Thanks a ton.

I think now I’ve to get a list of console commands for any future use.

Hi ,

I had a feeling it was the landscape collision not fully updating. I am happy to hear that recreating the collision helped to solve the error you were experiencing. I’ll mark this thread as answered for tracking purposes. If the error occurs again and this does not solve it, please feel free to post again and I’ll be happy to take another look.

Hello guys,

has this issue made any progress already? I am still experiencing it in 4.12, and I have quite a few heroes and enemies who should be able to move around on my terrain.

Or maybe there’s a good workaround?

Thanks!

Hi Artax, Can you show me your navmesh settings? Additionally, did you try the console command listed above?

Hi ,

I just found out that the problem was not the landscape, but the streaming level of my world composition, as discussed in other threads. When I move all my nav meshes to the persistent level, it works. Thanks anyway!

Hi . I’m happy to hear that you are no longer experiencing this issue. I will remark this as answered for tracking purposes.

Hi, is there anyway a step by step guide could be posted showing how to force the landscape collisions to update? I have Amareshs exact same problem, but very very very new to Unreal Engine and don’t understand how to create a console command or what it is/does until I walkthrough alongside a tutorial. Im in the latest version on Unreal Engine 4.21. Just wanting to flatten terrain etc and create a path (terrain visually looks to do that) but when walking through the landscape the original cliff collision is there and i either float above or below the visual landscape.

Have tried changing collision type of landscape like but experienced exact same issues.

Hi there, does this work with displacement on landscape materials? I can’t seem to find a solution anywhere to make the landscape collision conform to displacement/tessellation.