Hello!
I have been searching and trying for days but I am a little stuck. I am using the Unity NavMeshComponents from Git and I have a NavMeshSurface for my game world.
I really like to pre-bake the navmesh in the editor. This will function as a base map and will be mostly terrain.
What also works really well for dynamic objects is the NavMeshObstacle which does its job carving out simple shapes.
Now what I really miss is the ability to recalculate only a part of the existing navmesh so I can spawn in more complex geometry.
I know we can access the API and run:
nm.UpdateNavMesh(nm.navMeshData);
The issue is that it is really slow at runtime because it is probably recalculating all dynamic objects (also the ones that were calculated before).
Anyone that could help me out?