RimWorld

RimWorld

RandomPlus
monksu 11 Aug, 2018 @ 7:55pm
Exception: You are pushing more GUIClips than you are popping.
I got an exception for the first time when I wanted to create a jack-of-all-trade survivor for a solo naked campaign (couple weeks ago). We were then in version 1.0.xxxx and the character screen went blank with lots of red exception logs in the background window.

Today, I wanted to make my version of the 100: an edited 4-pawn-scenario with pre-adults (15...19 years). I tried to make a party that has complimentary skills. But after getting an exception three times I decided to disable all other mods than this to get the exception...

I managed to get an exception trying to get a night owl pawn with 4 plants [with passion] and 3 shooting able to do dumb jobs.

Error while generating pawn. Rethrowing. Exception: System.NullReferenceException: Object reference not set to an instance of an object

The output_log.txt I got has 33723 lines and after few times having the exception above, I have

Exception filling window for RimWorld.Page_ConfigureStartingPawns: System.NullReferenceException: Object reference not set to an instance of an object

After that I have a loop of

Exception filling window for RimWorld.Page_ConfigureStartingPawns: System.ArgumentNullException: Argument cannot be null.
Parameter name: key


and

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)

... 1573 times (or 33k lines).

zipped log[drive.google.com]
< >
Showing 1-3 of 3 comments
LameBot v2.0  [developer] 12 Aug, 2018 @ 10:42am 
For the life of me, I can't reproduce this error. I have no idea what is causing this error.
monksu 12 Aug, 2018 @ 11:04am 
Thanks for taking a look at it. :) I just wanted you to know because I got it pretty frequently when you only have pre-adult pawns and you try to get 2-3 skills to level 4+. And I got it using only core and your mod. I just got my "The 4" campaign started when I didn't try to get too skilled pawns. It was my third try with this session (I got twice an exception though I didn't define too high skill levels and quirks).

(I'm running 32bit executable in Win7 Ultimate.)
CrazyOdd 18 Aug, 2018 @ 3:44am 
Just to add to this:
3 forced traites, age 15-25 and looking for an 8 double intrest planter.

Exception filling window for RimWorld.Page_ConfigureStartingPawns: System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[Verse.Pawn,RimWorld.PortraitsCache+CachedPortrait].TryGetValue (Verse.Pawn key, RimWorld.CachedPortrait& value) [0x000ba] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:608
at RimWorld.PortraitsCache.Get (Verse.Pawn pawn, Vector2 size, Vector3 cameraOffset, Single cameraZoom) [0x00016] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\UI\ColonistBar\PortraitsCache.cs:60
at RimWorld.Page_ConfigureStartingPawns.DrawPawnList (Rect rect) [0x00171] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\UI\Entry\Page_ConfigureStartingPawns.cs:124
at RimWorld.Page_ConfigureStartingPawns.DoWindowContents (Rect rect) [0x00052] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\UI\Entry\Page_ConfigureStartingPawns.cs:61
at Verse.Window+<WindowOnGUI>c__AnonStorey0.<>m__0 (Int32 x) [0x00223] in C:\Dev\RimWorld\Assets\Scripts\Verse\UI\Windows\Window.cs:202
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
Verse.Log:Error(String, Boolean) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Utility\Debug\Log\Log.cs:68)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32) (at C:\Dev\RimWorld\Assets\Scripts\Verse\UI\Windows\Window.cs:206)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:1817)

(Filename: C:/Dev/RimWorld/Assets/Scripts/Verse/Utility/Debug/Log/Log.cs Line: 68)

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)

(Filename: C:/buildslave/unity/build/Runtime/IMGUI/GUIClip.cpp Line: 490)

Also, this error soft crashed the game.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1483846657
Last edited by CrazyOdd; 18 Aug, 2018 @ 3:46am
< >
Showing 1-3 of 3 comments
Per page: 1530 50