A* Pathfinding seems to give up before target

I just started to actively use the pathfinding algorithm :slight_smile: I got some code that works just as I wanted to small maps, however as the map grew, the pathfinder just kind of gives up?

Any help would be appreciated.

Here is how it fails:

Pathfinder class
See below.