Enemy gets stuck at obstacle using GraphUpdateScene

Hi, I’m using AStar free version for my 2d game.
Pathfinding seems great for it but enemy continues to stuck at corner when chasing player.
Is there any way to make enemy move wider from corner to prevent it?

Any advices will be appreciated!

Hi

You can use a large collision radius in A* Inspector -> Collision Testing -> Diameter. Or you can increase the ‘erosion iterations’ field, which does mostly the same thing except it is also applied near ledges where there are technically no obstacles but you don’t want the unit to get close to the ledge anyway.