Seekers moving between layers on LayeredGridGraph

I’m using a LayeredGridGraph for a tower defense game. One layer for the ground units and another one 4 units higher for flying units. The units generally find their way successfully along their intended paths.

However, when I build a new tower and call AstarPath.active.UpdateGraphs(collider.bounds), some of the ground units will teleport up on to the flying grid if they are directly below it. This only happens the moment the tower is build. Future units that spawn will path correctly.

Does anybody know why this might be happening?


My Astar settings
SeekerSettings
and seeker settings for reference

Hi

I’m not quite sure. Ar eyou using the AILerp or AIPath movement script?

I am using the AILerp script