In my project i will have agents with multiple sizes.
I currently only have one agent type, using the AIPath (radius 0.5) and seeker component (with Max Nearest Node Distance set to 4).
But to handle having various agent sizes, I will need multiple graphs, so I wanted to test it out.
I also have an RVO simulator in my scene and RVO controller on my agents.
When using a single grid graph, everything works fine, as soon as I add a second one AND make its node size bigger than the first (the first is 0.5, the second is 1), I start getting the following error for some paths.
Path Failed : Computation Time 0.00 ms Searched Nodes 0
Error: Couldn’t find close nodes to the start point or the end point
Path Number 3 (unique id)
I am telling my agent’s seeker component to use the proper graph for its size (the second one with the node size of 1).
I placed a breakpoint on that error message, and examined the path in the editor with gizmos enabled, there’s clearly many walkable paths, I see plenty of green nodes between the start and end location.
What’s weird is this doesn’t happen all the time, some paths work fine, others give that error.
If I make both graphs have the same node size, then everything works.
I tried increasing the Max Nearest Node Distance from 4 to 10, that didn’t help.
Am I misusing this feature, or did i set it up wrong?
I’m on Unity 2022.1.20f1 and A* pro v4.3.60