GarwelGarwel / Celsius

RimWorld mod adding realistic thermodynamics
4 stars 7 forks source link

Error when trying to reset settings to default with modded game #52

Open AlexVran opened 1 month ago

AlexVran commented 1 month ago

Hello, do you have any idea what might cause this issue? I am playing with a lot of mods so it might be a conflict caused by something else. I see WhileYoureUp there, but I don't understand why it's conflicting on the mod settings page.. [Celsius] Settings reset. Exception filling window for RimWorld.Dialog_ModSettings: System.NullReferenceException: Object reference not set to an instance of an object [Ref 3B14FD31] at Celsius.TemperatureInfo.ResetAllThings () [0x00000] in :0 at Celsius.TemperatureUtility.SettingsChanged () [0x000ac] in :0 at Celsius.Settings.Reset () [0x0005e] in :0 at Celsius.CelsiusMod.DoSettingsWindowContents (UnityEngine.Rect rect) [0x004b4] in :0 at RimWorld.Dialog_ModSettings.DoWindowContents (UnityEngine.Rect inRect) [0x0007c] in <2464551dcee346df9bf15b1c06ef09e9>:0

GarwelGarwel commented 1 month ago

Can you tell what exactly you did before this error popped up? Was it during play or in the main menu? What button(s) did you click?

AlexVran commented 4 weeks ago

Hey. Thanks for the answer and sorry, I didn't gave more info. I got the error during a game on the celsius mod settings page when I clicked on reset to default. I tried to reproduce it now after loading the save, but it's not happening anymore.. My guess is that it happens after some play time