2D Pathfinding Top Down

Hello, I am new in Unity and I make a game based on this game (here is project file, tutorials and a game), but difference of this game with mine is that I added walls, so enemies are stupid and they don’t see them, so I decided to use A* Pathfinding Project, made everything as in this guide, but I couldn’t make and then find good script for enemy’s movements(all of them did not work correctly). Maybe someone knows how to make movement of enemies right as it is without obstacles, but with them and with using A* Pathfinding.

The core algorithm is straightforward. Provide a maximum number of moves, send out a recursive check along possible routes, pick shortest one. I’m not sure you can use the theory behind A* without a grid… Might have to use an alteration, like waypoints and raycasts, to convert the free space into grid space.