daviscook477 / ONI-Mods

Mods for Oxygen Not Included
7 stars 31 forks source link

Random NullReferenceException #1

Closed pyromanci closed 4 years ago

pyromanci commented 5 years ago

Describe the bug There is a random crash. Happens mostly when I pause and unpause the game. Though i've not been able to reliably reproduce. I don't even have the building from this down when it crashes.

Output log NullReferenceException: Object reference not set to an instance of an object at TeleStorage.TeleStoragePatches/SimpleInfoScreen_RefreshStorage_Patch.Postfix (SimpleInfoScreen,UnityEngine.GameObject,UnityEngine.GameObject,System.Collections.Generic.Dictionary2<string, UnityEngine.GameObject>&) <0x0008a> at (wrapper dynamic-method) SimpleInfoScreen.RefreshStorage_Patch1 (object) <0x00fff> at SimpleInfoScreen.Refresh (bool) <0x001cb> at SimpleInfoScreen.OnRefreshData (object) <0x0001e> at SimpleInfoScreen.m5 (SimpleInfoScreen,object) <0x00023> at EventSystem/IntraObjectHandler`1.Trigger (UnityEngine.GameObject,object) <0x0018a> at EventSystem.Trigger (UnityEngine.GameObject,int,object) <0x00179> at KMonoBehaviour.Trigger (int,object) <0x000ad> at DetailsScreen.OnRefreshData (object) <0x000eb> at DetailsScreen.m3 (DetailsScreen,object) <0x00023> at EventSystem/IntraObjectHandler1<DetailsScreen>.Trigger (UnityEngine.GameObject,object) <0x0018a> at EventSystem.Trigger (UnityEngine.GameObject,int,object) <0x00179> at KMonoBehaviour.Trigger (int,object) <0x000ad> at CellSelectionObject.UpdateValues () <0x00216> at CellSelectionObject.OnObjectSelected (object) <0x000f0> at DetailsScreen.Refresh (UnityEngine.GameObject) <0x00098> at RootMenu.OnSelectObject (object) <0x001f2> at EventSystem.Trigger (UnityEngine.GameObject,int,object) <0x00354> at KMonoBehaviour.Trigger (int,object) <0x000ad> at SelectTool.Select (KSelectable,bool) <0x003e1> at SelectTool.OnLeftClickDown (UnityEngine.Vector3) <0x0010e> at PlayerController.OnKeyDown (KButtonEvent) <0x0030e> at KInputHandler.HandleKeyDown (KButtonEvent) <0x0009f> at KInputHandler.HandleKeyDown (KButtonEvent) <0x001b2> at KInputHandler.HandleEvent (KInputEvent) <0x0005e> at KInputController.Dispatch () <0x00069> at KInputManager.Dispatch () <0x00060> at KInputManager.Update () <0x00088> at GameInputManager.Update () <0x00031> at Global.Update () <0x00020>