Bugreport: Bug in NavMeshBase Linecast?

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.

Thank you. That was indeed a bug. It will be fixed in the next update.

1 Like