AI stuck in corner of obstacle

My AI gets stuck on a corner of a obstacle and it just stays there.
It’s clearly it tries to move around as it rotates towards my player.

How can I fix this??

Check this topic?