Agent falling with ConstrainInsideGraph enabled

Using LayeredGridGraph, agent doesn’t seem to properly constrain inside graph with the boolean set to true.
Sometime it snaps to the wrong node that’s far away and sometimes it allows agent to fall.
How can I constrain them properly?

video of it happening :

using 4.2.17


Thanks! That does indeed look like a bug. I’m not sure what could cause it to snap to a node far away, but it could definitely cause some issues near slopes. I will include a bugfix in the next beta release: 4.3.60 (see A* Pathfinding Project).

1 Like