RimWorld

RimWorld

Character Editor
Panthercat64 Oct 26, 2023 @ 2:13pm
Unable to save a character
There's one pawn I'm trying to save to a slot and nothing happens, tried cloning them, that doesn't work.
The only guess I have is that they were a quest psycast through caravan adventures at one point and because I failed it, some variable is super confused.

This is the error I got for trying to save them to a slot
Exception filling window for Verse.FloatMenu: System.InvalidCastException: Specified cast is not valid. at CharacterEditor.ThoughtTool.GetOpinionOffset (RimWorld.Thought t) [0x00022] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.ThoughtTool.GetAsSeparatedString (RimWorld.Thought t) [0x00111] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.ThoughtTool.GetAllMemoriesAsSeparatedString (Verse.Pawn p) [0x0006a] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.PresetPawn.SavePawn (Verse.Pawn p, System.Int32 slot) [0x002b8] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.CEditor+EditorUI+BlockPerson+<>c__DisplayClass64_0.<ASavePawn>b__0 () [0x0003e] in <31aeedd25e67475286a4c61702d6ebc1>:0 at Verse.FloatMenuOption.Chosen (System.Boolean colonistOrdering, Verse.FloatMenu floatMenu) [0x00030] in <95de19971c5d40878d8742747904cdcd>:0 at (wrapper dynamic-method) Verse.FloatMenuOption.Verse.FloatMenuOption.DoGUI_Patch1(Verse.FloatMenuOption,UnityEngine.Rect,bool,Verse.FloatMenu) at Verse.FloatMenu.DoWindowContents (UnityEngine.Rect rect) [0x000fb] in <95de19971c5d40878d8742747904cdcd>:0 at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch6 (string) (wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

and this is the error I got when I tried to clone them
Exception filling window for CharacterEditor.CEditor+EditorUI: System.InvalidCastException: Specified cast is not valid. at CharacterEditor.ThoughtTool.GetOpinionOffset (RimWorld.Thought t) [0x00022] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.ThoughtTool.GetAsSeparatedString (RimWorld.Thought t) [0x00111] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.ThoughtTool.GetAllMemoriesAsSeparatedString (Verse.Pawn p) [0x0006a] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.PresetPawn.SavePawn (Verse.Pawn p, System.Int32 slot) [0x002b8] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.PawnxTool.ClonePawn (Verse.Pawn p) [0x00007] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.CEditor+EditorUI+BlockPerson.AClonePawn () [0x0000b] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.SZWidgets.ButtonImage (UnityEngine.Rect rect, System.String texPath, System.Action action, System.String tooolTip) [0x00028] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.CEditor+EditorUI+BlockPerson.DrawTop () [0x00431] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.CEditor+EditorUI+BlockPerson.Draw (CharacterEditor.CEditor+EditorUI+coord c) [0x00092] in <31aeedd25e67475286a4c61702d6ebc1>:0 at CharacterEditor.CEditor+EditorUI.DoWindowContents (UnityEngine.Rect inRect) [0x00185] in <31aeedd25e67475286a4c61702d6ebc1>:0 at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch6 (string) (wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Usually I have some idea what the errors mean and I'd can usually assist narrowing it down what the problem is, but not here, nothing here makes sense. I'm sorry.
Again this is all for one singluar pawn. Others saved fine, even the one I cheated to be a psycaster. I have no idea what I did.