MKS/OKS: NRE when adding MK-V Comm-Lab part
ihsoft opened this issue ยท 2 comments
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)
This issue also affects parts manufactured via OSE Workshop: http://forum.kerbalspaceprogram.com/index.php?/topic/101928-112-kerbal-inventory-system-kis-1212/&do=findComment&comment=2773010