Greetings,
I have an issue with my agent printing the error message " Couldn’t find a node close to the end point" (Error messages - A* Pathfinding Project) and I do not understand why and when this happens.
My agent does notproduce this error when completely undisturbed but when there is an opponent with its own Grid Graph in the scene, at any given time, he repeatedly loses the end node and/or stops moving alltogether. The picture below is the moment the error occurs. The agent is currently on his own Graph and the other’s Graph.
There is no obstacle or anything, the properties are all fine (canMove=true, isStopped=false, canSearch=true) except for that the path has been set to null since the end node could not be found.
I checked the search distance (100) which is way farther than the end point should be (<35 away).
Does walking over another Grid Graph make any difference? Does setting .destination to the same value produce any recalculations?
Hope can someone help me here,
Best regards,
Dan