I recently got A*PP to replace my current pathfinding system which uses the Unity navmesh but I am getting some weird behavior. The first time I scan to generate a grid graph, everything works as expected. After I spawn a RichAI and set a destination, the graph changes tto only contain nodes with the AI path. Here’s the before and after:
I’m not sure if this is normal but regardless the real problem is that the AI never moves but I get Path Completed spammed in the console:
Path Completed : Computation Time 8.975 ms Searched Nodes 49 Path Length 17
Path Completed : Computation Time 0.000 ms Searched Nodes 49 Path Length 17
Path Completed : Computation Time 0.000 ms Searched Nodes 49 Path Length 17
Path Completed : Computation Time 0.000 ms Searched Nodes 49 Path Length 17
Path Completed : Computation Time 0.000 ms Searched Nodes 49 Path Length 17
Path Completed : Computation Time 0.000 ms Searched Nodes 49 Path Length 17
I’m not sure why it’s not moving. My settings seem good to me but maybe I am missing something. Here are my AStar and RichAI settings: