RimWorld

RimWorld

RandomPlus
Kalmin 29 Jun, 2022 @ 8:37am
[ BUG ] / UI issue when rerolling
When rerolling, oftenly the Skills UI for colonists will disappear, also the Group skills UI will too, if you hover over one of the skills, every bar after it will disappear and every bar before it will be kept normal.

This bug happens with each roll of the pawns, since thousands of them appear in the log.

Here is the log of the error:

Exception filling window for RimWorld.Page_ConfigureStartingPawns: System.NullReferenceException: Object reference not set to an instance of an object at Verse.Pawn.get_Inspired () [0x0000a] in <81af9f8a18324e17b286924a43555a7c>:0 at (wrapper dynamic-method) RimWorld.StatWorker.RimWorld.StatWorker.GetValueUnfinalized_Patch0(RimWorld.StatWorker,RimWorld.StatRequest,bool) at (wrapper dynamic-method) RimWorld.StatWorker.RimWorld.StatWorker.GetValue_Patch0(RimWorld.StatWorker,RimWorld.StatRequest,bool) at RimWorld.StatWorker.GetValue (Verse.Thing thing, System.Boolean applyPostProcess) [0x00007] in <81af9f8a18324e17b286924a43555a7c>:0 at (wrapper dynamic-method) RimWorld.StatExtension.RimWorld.StatExtension.GetStatValue_Patch1(Verse.Thing,RimWorld.StatDef,bool) at (wrapper dynamic-method) RimWorld.SkillUI.RimWorld.SkillUI.GetSkillDescription_Patch0(RimWorld.SkillRecord) at (wrapper dynamic-method) RimWorld.SkillUI.RimWorld.SkillUI.DrawSkill_Patch0(RimWorld.SkillRecord,UnityEngine.Rect,RimWorld.SkillUI/SkillDrawMode,string) at RimWorld.Page_ConfigureStartingPawns.DrawSkillSummaries (UnityEngine.Rect rect) [0x0019a] in <81af9f8a18324e17b286924a43555a7c>: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 <81af9f8a18324e17b286924a43555a7c>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

I believe the problem is displaying or updating the UI, but i am not a coder and cannot read that, so do not take my word for it.