Removed the startPoint and goalPoint objects, it is now getting this values from the tilemap properties.