AI not walking around obstacle

I managed to fix the issue by deleting the current nav mesh and putting a new one in the map. No idea why it made a difference, but everything seems to work now!