Unity2d simple wall avoid script

I am making a top down game, And I want to give my enemies simple pathfinding, not like astar or anything, just the ability to move around an isolated wall. Does anyone have any ideas?

There’s a pretty good solution for this here:

1 Like

the navmesh didn’t work the way I wanted it to, but I did get some other obstacle navigation script working, so thanks anyways