RimWorld

RimWorld

EdB Prepare Carefully
jetblade545 1 Aug, 2023 @ 10:16pm
getting a nasty bug not being able to save a preset
first error

[Prepare Carefully] Failed to save preset file
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
EdB.PrepareCarefully.Logger:Error (string)
EdB.PrepareCarefully.PresetSaver:SaveToFile (EdB.PrepareCarefully.PrepareCarefully,string)
EdB.PrepareCarefully.Controller:SavePreset (string)
EdB.PrepareCarefully.Page_PrepareCarefully:<DrawPresetButtons>b__40_1 (string)
EdB.PrepareCarefully.Dialog_SavePreset:DoSpecialSaveLoadGUI (UnityEngine.Rect)
EdB.PrepareCarefully.Dialog_Preset:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)


second error

Called FinalizeSaving() but current mode is Inactive
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.ScribeSaver:FinalizeSaving ()
EdB.PrepareCarefully.PresetSaver:SaveToFile (EdB.PrepareCarefully.PrepareCarefully,string)
EdB.PrepareCarefully.Controller:SavePreset (string)
EdB.PrepareCarefully.Page_PrepareCarefully:<DrawPresetButtons>b__40_1 (string)
EdB.PrepareCarefully.Dialog_SavePreset:DoSpecialSaveLoadGUI (UnityEngine.Rect)
EdB.PrepareCarefully.Dialog_Preset:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)


third error

Exception filling window for EdB.PrepareCarefully.Dialog_SavePreset: System.NullReferenceException: Object reference not set to an instance of an object
at EdB.PrepareCarefully.PresetSaver.SaveToFile (EdB.PrepareCarefully.PrepareCarefully data, System.String presetName) [0x0060a] in <b4730f5aca43465180ac5fb9d735e04e>:0
at EdB.PrepareCarefully.Controller.SavePreset (System.String name) [0x0002d] in <b4730f5aca43465180ac5fb9d735e04e>:0
at EdB.PrepareCarefully.Page_PrepareCarefully.<DrawPresetButtons>b__40_1 (System.String name) [0x00000] in <b4730f5aca43465180ac5fb9d735e04e>:0
at EdB.PrepareCarefully.Dialog_SavePreset.DoSpecialSaveLoadGUI (UnityEngine.Rect inRect) [0x00126] in <b4730f5aca43465180ac5fb9d735e04e>:0
at EdB.PrepareCarefully.Dialog_Preset.DoWindowContents (UnityEngine.Rect inRect) [0x00317] in <b4730f5aca43465180ac5fb9d735e04e>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

and for the last error

Alignment was MiddleLeft at end of frame.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Log:ErrorOnce (string,int)
Verse.Text:StartOfOnGUI ()
Verse.UIRoot:UIRootOnGUI ()
Verse.UIRoot_Entry:UIRootOnGUI ()
Verse.Root:OnGUI ()


it semes to be a problem with modded races
but the one i use worked with this mod all the time in 1.3
how can this be fixed?
< >
Showing 1-1 of 1 comments
Rusty 8 Nov, 2023 @ 4:13pm 
I started having this issue recently myself. I can load the races in fine but the moment i try to save i get some error telling me "There was a problem while saving. You may not be able to load the preset" I've tried to figure this out but i've had zero luck.
< >
Showing 1-1 of 1 comments
Per page: 1530 50