Skip to content

NavMeshPathStatus

The status of the path from the agent's current position to the destination.

attributesdescription
PathCompleteThe path obtained through NavMeshAgent.path is the complete path from the agent's current position to the destination.
PathPartialThe path obtained through NavMeshAgent.path is a partial path, which may be due to the path being too long or there being no reachable path from the agent to the destination.
PathInvalidThe initial position of the agent is not on the navigation mesh, or the set destination is not on the navigation mesh, or there is another state where pathfinding is not possible.