Pilot crashes after losing consciousness