RimWorld

RimWorld

Celsius
Just Aug 11, 2024 @ 5:13am
Cannot close the setting window: error
Hi! I cannot close the settings window while in game. I receive this error (similar error occur if I click on "Reset to default" button):

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 19BD721F]
at Celsius.TemperatureInfo.ResetAllThings () [0x00000] in <e79a87306df249beb725682431d51496>:0
at Celsius.TemperatureUtility.SettingsChanged () [0x000ac] in <e79a87306df249beb725682431d51496>:0
at Celsius.CelsiusMod.WriteSettings () [0x00000] in <e79a87306df249beb725682431d51496>:0
at RimWorld.Dialog_ModSettings.PreClose () [0x00006] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.WindowStack.TryRemove (Verse.Window window, System.Boolean doCloseSound) [0x00077] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- POSTFIX SmashPhil.SmashTools: Void SmashTools.HighPriorityInputs:WindowRemovedFromStack(Window window, Boolean __result)
at Verse.Window.Close (System.Boolean doCloseSound) [0x00005] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Window.OnCancelKeyPressed () [0x00008] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.WindowStack.Notify_PressedCancel () [0x00062] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- TRANSPILER Uuugggg.rimworld.TDS_Bug_Fixes.main: IEnumerable`1 TDS_Bug_Fixes.Notify_PressedCancelUseEvent:Transpiler(IEnumerable`1 instructions)
at Verse.WindowStack.HandleEventsHighPriority () [0x00055] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- POSTFIX SmashPhil.SmashTools: Void SmashTools.HighPriorityInputs:HighPriorityOnGUI()
at Verse.UIRoot.UIRootOnGUI () [0x00049] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.UIRoot_OnGUI_Patch:OnGUIHook()
- POSTFIX SmashPhil.SmashTools: Void SmashTools.ProjectSetup:ValidateGUIState()
- POSTFIX VouLT.BetterPawnControl: Void BetterPawnControl.Patches.UIRoot_OnGUI_onKeyPress:Postfix()
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x0000a] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- PREFIX SmashPhil.SmashTools: Void SmashTools.MainMenuKeyBindHandler:HandleKeyInputs()
- PREFIX Dubwise.PerformanceAnalyzer: Void Analyzer.H_KeyPresses:OnGUI()
- POSTFIX Krkr.RocketMan: Void RocketMan.KeyBinder:OnGUI()
at Verse.Root.OnGUI () [0x00046] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)