Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at CustomPortraits.CustomPortraitsModSettings.GetDataForRace (System.String raceName) [0x0000e] in <a736633b3274424a8401b85e813a2961>:0
at CustomPortraits.HarmonyPatches.MyGet (Verse.Pawn pawn, UnityEngine.Vector2& size, UnityEngine.Vector3& cameraOffset, System.Single& cameraZoom) [0x00043] in <a736633b3274424a8401b85e813a2961>:0
at (wrapper dynamic-method) RimWorld.PortraitsCache.RimWorld.PortraitsCache.Get_Patch1(Verse.Pawn,UnityEngine.Vector2,Verse.Rot4,UnityEngine.Vector3,single,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
at (wrapper dynamic-method) RimWorld.ColonistBarColonistDrawer.RimWorld.ColonistBarColonistDrawer.DrawColonist_Patch1(RimWorld.ColonistBarColonistDrawer,UnityEngine.Rect,Verse.Pawn,Verse.Map,bool,bool)
at (wrapper dynamic-method) RimWorld.ColonistBar.RimWorld.ColonistBar.ColonistBarOnGUI_Patch1(RimWorld.ColonistBar)
at (wrapper dynamic-method) RimWorld.MapInterface.RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch1(RimWorld.MapInterface)
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch1(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)
at CustomPortraits.CustomPortraitsModSettings.GetDataForRace (System.String raceName) [0x0000e] in <a736633b3274424a8401b85e813a2961>:0
at CustomPortraits.HarmonyPatches.MyGet (Verse.Pawn pawn, UnityEngine.Vector2& size, UnityEngine.Vector3& cameraOffset, System.Single& cameraZoom) [0x00043] in <a736633b3274424a8401b85e813a2961>:0
at (wrapper dynamic-method) RimWorld.PortraitsCache.RimWorld.PortraitsCache.Get_Patch1(Verse.Pawn,UnityEngine.Vector2,Verse.Rot4,UnityEngine.Vector3,single,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
at (wrapper dynamic-method) RimWorld.ColonistBarColonistDrawer.RimWorld.ColonistBarColonistDrawer.DrawColonist_Patch1(RimWorld.ColonistBarColonistDrawer,UnityEngine.Rect,Verse.Pawn,Verse.Map,bool,bool)
at (wrapper dynamic-method) RimWorld.ColonistBar.RimWorld.ColonistBar.ColonistBarOnGUI_Patch1(RimWorld.ColonistBar)
at (wrapper dynamic-method) RimWorld.MapInterface.RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch1(RimWorld.MapInterface)
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch1(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)