Seeker graph selection?

If an agent’s seeker can traverse across two different graphs (recast & grid), and those grids sometimes overlap each other (i.e. a large grid graph for the majority of traversal, and a smaller recast to accommodate unique, overlapping geometry), how does it choose which to use if the destination is only on the recast, but the start is on both of them?

I had hoped it would check one graph and then the other to see if the path is walkable on any of the allowed graphs, but it seems to only walk on the grid graph, and ignore the valid path on the recast.

Hi

It will always find the closest graph and use that.
You can also manually specify which graphs the agent is allowed to search when finding nodes close to the start & end points. This can be set on the seeker component.

I would recommend using a single large graph instead of two overlapping graphs. Using a single big graph is almost always less complex and more robust in my experience.

Thanks. I’d like to use one graph, but the world is procedural (terrain) with buildings and outpost prefabs placed at runtime in ways/areas I don’t fully dictate. They seem to work best as recast graphs and I was hoping the agent would get close enough and then switch to the recast graph to move about it.