I’m generating NavMeshes using the Unity High Level Workflow:
Certain links will not connect (the ones without the light blue rectangle below)
As you can see by the orange highlight, the terrain is separated into areas each with their own GameObject Mesh, GameObject and NavMesh. I generate all of these before generating the links:
for(Sector s in sectors)
{
GenerateNavMesh(s);
}
for(Sector s in sectors)
{
GenerateLinks(s);
}
When the mesh objects are generated in a random order, a few specific links will work or not work, seemingly at random. Generating the objects in a consistent order seems to yield consistent failures in connection. So it seems as though the order in which the objects are generated has some impact on which links fail.
Lastly, changing the position (on any axis) of the object either side of a failed link (by dragging in the editor window) will cause the link to immediately connect. After resetting the transform of that object, the link stays connected.
Apologies if I’m missing something obvious here, I’m fairly new to Unity NavMesh.
Thanks
