Kerbal Inventory System (KIS)

Kerbal Inventory System (KIS)

1M Downloads

MKS/OKS: NRE when adding MK-V Comm-Lab part

ihsoft opened this issue ยท 2 comments

commented
160614T005937.074 [EXCEPTION] [ModuleScienceLab.OnSave] NullReferenceException: Object reference not set to an instance of an object
   at ModuleScienceLab.OnSave (.ConfigNode node)
   at PartModule.Save (.ConfigNode node)
   at ProtoPartModuleSnapshot..ctor (.PartModule module)
   at ProtoPartSnapshot..ctor (.Part PartRef, .ProtoVessel protoVessel)
   at KIS.KIS_Shared.PartSnapshot (.Part part)
   at KIS.KIS_Item..ctor (.Part part, KIS.ModuleKISInventory inventory, Single quantity)
   at KIS.ModuleKISInventory.AddItem (.Part part, Single qty, Int32 slot)
   at KIS.ModuleKISInventory.GuiHandleEmptySlot (Rect textureRect, Int32 slotIndex)
   at KIS.ModuleKISInventory.GuiInventory ()
   at KIS.ModuleKISInventory.GuiMain (Int32 windowID)
   at UnityEngine.GUILayout+LayoutedWindow.DoWindow (Int32 windowID)
   at UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, UnityEngine.GUISkin _skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style)
commented

This error happens with any part which has a science module.