There is still a null reference bug, in the pathfinding. This both my work and Niel's work.