Kerbal Inventory System (KIS)

Kerbal Inventory System (KIS)

1M Downloads

NRE when transferring crew into a pod part without KIS inventories

ihsoft opened this issue ยท 1 comments

commented
160614T010526.144 [EXCEPTION] [KIS.ModuleKISInventory.OnCrewTransferred] NullReferenceException: Object reference not set to an instance of an object
   at KIS.ModuleKISInventory.OnCrewTransferred (HostedFromToAction`2 fromToAction)
   at EventData`1[GameEvents+HostedFromToAction`2[ProtoCrewMember,Part]].Fire (HostedFromToAction`2 data)
   at CrewTransfer.MoveCrewTo (.Part p)
   at CrewTransfer.OnPartSelect (.Part p)
   at PartSelector.LateUpdate ()
commented

For now fix is just blocking such transfer. Player should have inventory items removed before entering such parts.

Better solution that would work smarter and in every case is unknown at the moment.