Imho there is bug in one of the Linecast functions in NavMeshBase:
public bool Linecast (Vector3 start, Vector3 end, GraphNode hint, out GraphHitInfo hit, List<GraphNode> trace, System.Func<GraphNode, bool> filter) {
return Linecast(this, start, end, null, out hit, trace, filter);
}
imho this should be:
return Linecast(this, start, end, hint, out hit, trace, filter);
so that the hint is not ignored.