Commit for debuging the pathfinding failing every other time its called.