Hello Aron,
There is indeed another exception that I missed, here is the stack trace :
NullReferenceException: A null value was found where an object instance was required.
at Pathfinding.MeshNode.FloodFill (System.Collections.Generic.Stack`1 stack, UInt32 region) [0x0001c] in ***\dev\Assets\AstarPathfindingProject\Core\Nodes\GraphNode.cs:329
at AstarPath+c__AnonStorey8B.<>m__23 (Pathfinding.GraphNode node) [0x0012f] in ***\dev\Assets\AstarPathfindingProject\Core\AstarPath.cs:1851
at Pathfinding.RecastGraph.GetNodes (Pathfinding.GraphNodeDelegateCancelable del) [0x0006d] in ***\dev\Assets\AstarPathfindingProject\Generators\RecastGenerator.cs:537
at AstarPath.FloodFill () [0x000ef] in ***\dev\Assets\AstarPathfindingProject\Core\AstarPath.cs:1861
at AstarPath.EnsureValidFloodFill () [0x0000b] in ***\dev\Assets\AstarPathfindingProject\Core\AstarPath.cs:946
at AstarPath.ProcessWorkItems (Boolean force) [0x000da] in ***\dev\Assets\AstarPathfindingProject\Core\AstarPath.cs:1024
at AstarPath.PerformBlockingActions (Boolean force, Boolean unblockOnComplete) [0x00033] in ***\dev\Assets\AstarPathfindingProject\Core\AstarPath.cs:907
at AstarPath.Update () [0x00000] in ***\dev\Assets\AstarPathfindingProject\Core\AstarPath.cs:865
Also, I tried setting the maxGraphUpdateFreq to a larger value (1.5) and it definitely helps. I get another exception though :
IndexOutOfRangeException: Array index is out of range.
at Pathfinding.RecastGraph.ReplaceTile (Int32 x, Int32 z, Int32 w, Int32 d, Pathfinding.Int3[] verts, System.Int32[] tris, Boolean worldSpace) [0x00465] in ***\dev\Assets\AstarPathfindingProject\Generators\RecastGenerator.cs:1932
at Pathfinding.Util.TileHandler+c__AnonStoreyA9.<>m__48 (Boolean force) [0x0017c] in***\dev\Assets\AstarPathfindingProject\Generators\Utilities\TileHandler.cs:1253
at AstarPath.ProcessWorkItems (Boolean force) [0x0005e] in ***\dev\Assets\AstarPathfindingProject\Core\AstarPath.cs:1006
No other exception comes before this one. This happens after we call NavmeshCut.ForceContourRefresh() and NavmeshCut.ForceUpdate()
Thanks,
L.