Pathfinder issues.

I started making navigation mesh for my map, I model it, I hit make navigation mesh and after a few sec it does, now I create two cubes, and I set one of them to go to another one using pathfinding, but it does nothing, I select the navigation mesh again and I hit reset, and now the cube works somehow, tries to reach the other cube but the results are very bad, and gets stuck and doesn’t correctly follows the navmesh.
Please check this blend file

I would try tweaking the navmesh settings in the scene properties.