Dynamic Add "Road"(WayPoints) Question

Hi.
In my game, use the PointGraph and GridGraph
In order to make certain types of roles walk on the way of already created,
such as carriers, so I need to use PointGraph.
Besides,resource gatherers, they are free to walk on the map, so I need to use GridGraph to dynamic pathfinding.

When I create road in runtime,the problem comes up.

All the waypoints(yellow) is created in the editor and connected by NodeLink.

Running the Game,and create a new road : A - > B - > E - > F

As expected.

Well, now I want create a new road pass by WayPt 11, for example
WayPt 12 - > WayPt 11 - > F - > E - > B - > WayPt 13
When I start creating, it can find WayPt 11.
but the result of the new path is not what i want

would someone tell me why?
Thanks.

However, Everything goes well when I delete GridGraph

I solved this problem.
Just use ‘Prioritize Graphs’ in Settings Panel. :joy:

1 Like