I have not debugged this, but ... I had a cargo plane, and I had no weapons in it. I could not, in fact, have weapons in it: it has no weapon inventory for me. I suspect this may involve AAI Programmable Vehicles or something, but either way, I think the root cause of the failure is obvious. :)
Error while running event AircraftRealism::on_tick (ID 0)
Index out of bounds.
stack traceback:
AircraftRealism/control.lua:219: in function 'TransitionPlane'
AircraftRealism/control.lua:179: in function 'PlaneLand'
AircraftRealism/control.lua:41: in function <AircraftRealism/control.lua:10>
stack traceback:
[C]: in function 'newindex'
__AircraftRealism/control.lua:219: in function 'TransitionPlane'
AircraftRealism/control.lua:179: in function 'PlaneLand'
AircraftRealism/control.lua:41: in function <AircraftRealism/control.lua:10>