AI attempts to go through walls(just a little bit)

Hi, Im new to Astar, I’m having a little problem where the AI attempts to go through the edges of terrain and then gets stuck, as illustrated here

How do I sort this out? Im assuming its something Im doing wrong


You should increase “erosion” to 1 on the grid graph or increase the “diameter” in the “Collision Testing” settings.

You can also try to reduce the “Pick Next Waypoint Distance” (or similar name) on the AI script.

Not sure about the comment count, it might have been spam that I removed, but was still counted or something.

ok so apparently theres one comment here but i cant see it for some reason(forum says theres an answer for this)?