PathfindingError - Nav3D Doc
leafleafDocy banner shape 01Docy banner shape 02

Docy Child

PathfindingError

The class whose instance is returned to the _OnFail callback of the Path.UpdatePath() method.

Contains two properties:

  • public PathfindingResultCode Reason – the reason why the pathfinding failed.
    Possible values:
ValueDescription
SUCCEEDEDPathfinding finished successfully.
PATH_DOES_NOT_EXISTThere is no path between points. This is possible if at least one of the neighborhood points is surrounded by all sides.
TIMEOUTThe pathfinding took longer than allowed and was aborted.
CANCELEDPathfinding was canceled by the user or Nav3D internal logic.
START_POINT_INSIDE_OBSTACLEPathfinding has been canceled because the start point of the path is inside an obstacle.
GOAL_POINT_INSIDE_OBSTACLEPathfinding has been canceled because the goal point of the path is inside an obstacle.
UNKNOWNInternal error.
  • public string Msg – message with more detailed information about the error.

Agent log

In the second section, you can get the contents of the agent log by clicking on ...

Debug drawing

In the first section, you can visualize the agent and his nearest environment. T...

Creating and configuring an agent description from code

All Nav3DAgentDescription parameters configured in the description inspector c...

Nav3DManager

Nav3DManager is a helper static class. Can be useful for checking whether Nav3D ...

Nav3DInitializer

To use Nav3D in playmode, you need to initialize it. The Nav3DInitializer compon...

Nav3DObstacleLoader

To use the possibility of pre-baking obstacles on the scene in editor mode and t...

Nav3DObstacle

To manage obstacles on the scene, the Nav3DObstacle component is designed. Attac...

Obstacle combinations

We will call obstacles with the selected processing mode “Runtime” as runtim...

Operations with obstacles

Regardless of the obstacle processing mode, the processing procedure consists of...

Deeper dive into obstacles

As already described above, in order for an obstacle to be taken into account du...

Nav3DAgent : Debug

The Nav3DAgent and its inheritors have an inspector that provides several useful...

Nav3DAgent

As mentioned above, you can use the Nav3DAgent script as a component for your ga...

Chat Icon Close Icon
en_USEnglish