I also tested by switching the heuristic algorithm to both Manhattan and Euclidean , but the results did not change.
It’s as if there’s something blocking the way — the path curves around for no clear reason, but then suddenly switches to a straight line at some point.
ok, the issue was resolved by simply adding a Funnel Modifier
the core mechanism of this awesome asset involves dividing the navigable area into triangles , then connecting the centers of those triangles to form a path. as a result, the generated path can naturally appear zigzagged , even when a more direct route exists
what I was missing was the Funnel Modifier , which smooths the path into a visually cleaner and more direct route
once added, the path followed the expected shortest path more accurately