To avoid spikes when requesting paths, the pathfinder is time-sliced: requests for paths are not processed immediately, but are rather added to the queue, so it can take a few frames to get the result. To tweak the time-slicing, the following console variables can be used:
Pathfinding quota per frame, in seconds.
0/1 - Hide/show pathfinder debug statistics: queue size, average and maximum number of A* search steps, average and maximum search time.
To test the pathfinder and navigation in the Editor:
- Add an AI character to the map.
- Select it.
- Enable [AI/Physics].
- Set ai_DrawPath to all to visualize the path.
- Set ai_DrawPathFollower to 1 to visualize the pathfollower, if needed.
- Click the middle mouse button on the desired destination.
Other debugging tools are described at this LINK.