Dynamic NavMesh on RunTime

I have some Terrain where some NPC can walk around using a NavMeshAgent, works fine.
On this Terrain there are some Cubes that blocks the NPC, so it walks around them, works fine.

On RunTime i want to replace a Cube with a smaller version that a NPC can walk over. The replace part works fine, but how do I update the NavMesh? Whats the best/common way of doing this?

Simple answer: you can’t update(=bake) navmeshes runtime. You can only add/remove dynamic obstacles on them.

1 Like