public bool isOnNavMesh ;

Description

Is the agent currently bound to the navmesh? (Read Only)

This property is false if the agent, for some reason, could not bind to the navmesh. E.g. if scene has no navmesh.