This version of Unity is unsupported.

NavMeshHit.distance

public float distance;

Description

Distance to the point of hit.