RimWorld

RimWorld

Character Editor
Error when attempting to edit starting pawns; Pawns not spawning in on game start
When attempting to use the mod, clicking the EditPawn UI button does nothing, except spit an error:
Exception filling window for RimWorld.Page_ConfigureStartingPawns: System.NullReferenceException: Object reference not set to an instance of an object at CharacterEditor.PawnKindTool+<>c.<GetHumanlikes>b__11_0 (Verse.PawnKindDef td) [0x00006] in <f160cb54a36643798f2d8df5164f717a>:0 at System.Linq.Enumerable+WhereListIterator`1[TSource].ToArray () [0x00023] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) [0x0000a] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.OrderedEnumerable`1[TElement].ToList () [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at CharacterEditor.PawnKindTool.GetHumanlikes () [0x0004e] in <f160cb54a36643798f2d8df5164f717a>:0 at CharacterEditor.Editor.CreateList (CharacterEditor.EType eType) [0x00028] in <f160cb54a36643798f2d8df5164f717a>:0 at CharacterEditor.Editor.ListOf[T] (CharacterEditor.EType eType) [0x00015] in <f160cb54a36643798f2d8df5164f717a>:0 at CharacterEditor.PawnKindTool.ListOfPawnKindDef (RimWorld.Faction f, System.String key, System.String modname) [0x00039] in <f160cb54a36643798f2d8df5164f717a>:0 at CharacterEditor.Editor.CreateList (CharacterEditor.EType eType) [0x00087] in <f160cb54a36643798f2d8df5164f717a>:0 at CharacterEditor.Editor.ListOf[T] (CharacterEditor.EType eType) [0x00015] in <f160cb54a36643798f2d8df5164f717a>:0 at CharacterEditor.BlockPawnList.get_ListOfPawnKinds () [0x00000] in <f160cb54a36643798f2d8df5164f717a>:0 at CharacterEditor.BlockPawnList.AModNameChanged (System.String val) [0x00008] in <f160cb54a36643798f2d8df5164f717a>:0 at CharacterEditor.BlockPawnList.AChangeList (System.String listname) [0x00060] in <f160cb54a36643798f2d8df5164f717a>:0 at CharacterEditor.EditorUI.PreselectPawn () [0x002a3] in <f160cb54a36643798f2d8df5164f717a>:0 at CharacterEditor.Editor.TryStartEditor (Verse.Pawn p, CharacterEditor.CharacterEditorCascet ceCascet, CharacterEditor.CharacterEditorGrave ceGrave) [0x00052] in <f160cb54a36643798f2d8df5164f717a>:0 at CharacterEditor.PRMod.AddCharacterEditorButton (RimWorld.Page_ConfigureStartingPawns __instance, UnityEngine.Rect rect) [0x00050] in <f160cb54a36643798f2d8df5164f717a>:0 at (wrapper dynamic-method) RimWorld.Page_ConfigureStartingPawns.RimWorld.Page_ConfigureStartingPawns.DrawPortraitArea_Patch1(RimWorld.Page_ConfigureStartingPawns,UnityEngine.Rect) at RimWorld.Page_ConfigureStartingPawns.DoWindowContents (UnityEngine.Rect rect) [0x000ae] in <d72310b4d8f64d25aee502792b58549f>:0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x00165] in <d72310b4d8f64d25aee502792b58549f>:0

Additionally, when attempting to start a game, no pawns will spawn in and you'll instead be left with an empty blank terrain map.