AI Getting stuck on walls (Horror Game)

Hi! So I’m making a horror game with a chase sequence, but the AI keeps running into walls and getting stuck. I tried looking through forums and stuff to find a solution, but nothing worked.

Any help is appreciated!