skyarkhangel/Hardcore-SK

(1.4 Alpha) CharacterCardUtility - Character Creation

TheLoneTec opened this issue · 0 comments

Exception filling window for RimWorld.Page_ConfigureStartingPawns: System.OverflowException
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
at Verse.GenUI+SpacingCache.Reset (System.Int32 elem) [0x00018] in <8c412d4a16f94d4cb337e846f2dee469>:0
at Verse.GenUI.DrawElementStackVertical[T] (UnityEngine.Rect rect, System.Single rowHeight, System.Collections.Generic.List1[T] elements, Verse.GenUI+StackElementDrawer1[T] drawer, Verse.GenUI+StackElementWidthGetter`1[T] widthGetter, System.Single elementMargin) [0x0005e] in <8c412d4a16f94d4cb337e846f2dee469>:0
at RimWorld.CharacterCardUtility+<>c__DisplayClass42_1.b__15 (UnityEngine.Rect sectionRect) [0x0012a] in <8c412d4a16f94d4cb337e846f2dee469>:0
at RimWorld.CharacterCardUtility.DoLeftSection (UnityEngine.Rect rect, UnityEngine.Rect leftRect, Verse.Pawn pawn) [0x0084e] in <8c412d4a16f94d4cb337e846f2dee469>:0
at RimWorld.CharacterCardUtility.DrawCharacterCard (UnityEngine.Rect rect, Verse.Pawn pawn, System.Action randomizeCallback, UnityEngine.Rect creationRect, System.Boolean showName) [0x00740] in <8c412d4a16f94d4cb337e846f2dee469>:0
at RimWorld.Page_ConfigureStartingPawns.DrawPortraitArea (UnityEngine.Rect rect) [0x000b7] in <8c412d4a16f94d4cb337e846f2dee469>:0
at (wrapper dynamic-method) RimWorld.Page_ConfigureStartingPawns.RimWorld.Page_ConfigureStartingPawns.DoWindowContents_Patch1(RimWorld.Page_ConfigureStartingPawns,UnityEngine.Rect)
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <8c412d4a16f94d4cb337e846f2dee469>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Posting this as a reminder to myself or others check it out.

All the pawns look fine, cant see anything visually thats failed on the pawns selection screen for a scenario. Didnt happen every time.