Kerbal Inventory System (KIS)

Kerbal Inventory System (KIS)

1M Downloads

Tab Key in Map View

TonkaCrash opened this issue ยท 1 comments

commented

TAB hotkey to open KIS Inventory window can crash KSP. Set an EVA Kerbal as the active vessel. Go to Map view. Hit TAB and KIS throws NREs and finally crashed to desktop after several seconds. Not a problem with a normal vessel.

[LOG 12:32:24.708] [AutoSave]: Game Backed Up and Saved [ERR 12:32:24.882] Module ModuleKISInventory threw during OnUpdate: System.NullReferenceException: Object reference not set to an instance of an object at KIS.KIS_IconViewer.MakeKerbalAvatar (Part ownerPart, System.Int32 resolution) [0x000d8] in <e1482380561a4009b0524f50df042092>:0 at KIS.KIS_IconViewer..ctor (Part part, System.Int32 resolution) [0x00018] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.EnableIcon () [0x0000d] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.ToggleInventoryEvent () [0x0014a] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.UpdateKey () [0x00040] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.OnUpdate () [0x00006] in <e1482380561a4009b0524f50df042092>:0 at Part.ModulesOnUpdate () [0x0004a] in <55ba45dc3a43403382024deac8dcd0be>:0 [LOG 12:32:24.885] [PlanetariumCamera]: Focus: Gilly [ERR 12:32:31.128] Module ModuleKISInventory threw during OnUpdate: System.NullReferenceException: Object reference not set to an instance of an object at KIS.KIS_IconViewer.MakeKerbalAvatar (Part ownerPart, System.Int32 resolution) [0x000d8] in <e1482380561a4009b0524f50df042092>:0 at KIS.KIS_IconViewer..ctor (Part part, System.Int32 resolution) [0x00018] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.EnableIcon () [0x0000d] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.ToggleInventoryEvent () [0x0014a] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.UpdateKey () [0x00040] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.OnUpdate () [0x00006] in <e1482380561a4009b0524f50df042092>:0 at Part.ModulesOnUpdate () [0x0004a] in <55ba45dc3a43403382024deac8dcd0be>:0 [LOG 12:32:31.130] [PlanetariumCamera]: Focus: Kerbin [ERR 12:32:38.856] Module ModuleKISInventory threw during OnUpdate: System.NullReferenceException: Object reference not set to an instance of an object at KIS.KIS_IconViewer.MakeKerbalAvatar (Part ownerPart, System.Int32 resolution) [0x000d8] in <e1482380561a4009b0524f50df042092>:0 at KIS.KIS_IconViewer..ctor (Part part, System.Int32 resolution) [0x00018] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.EnableIcon () [0x0000d] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.ToggleInventoryEvent () [0x0014a] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.UpdateKey () [0x00040] in <e1482380561a4009b0524f50df042092>:0 at KIS.ModuleKISInventory.OnUpdate () [0x00006] in <e1482380561a4009b0524f50df042092>:0 at Part.ModulesOnUpdate () [0x0004a] in <55ba45dc3a43403382024deac8dcd0be>:0 [LOG 12:32:38.859] [PlanetariumCamera]: Focus: Mun [ERR 12:33:04.010] RESOURCES LEAK! The IconViewer was not disposed: camera=[Camera:kerbalEVA (Jebediah Kerman)/KASCamItem6], iconPrefab=[NULL]

commented

Bug confirmed. My system hasn't crashed, but the effect was interesting.