RimWorld

RimWorld

RandomPlus
Ober 30 Dec, 2021 @ 8:30am
Exception filling window for RimWorld.Page_ConfigureStartingPawns:
Hello, i didnt see this issue posted on the comments so here i post this one.
I Am using Randomplus, Edb Prepared carefully and Vanilla Traits, and sometimes when i randomize a pawn, this happens. Im also using Royality and Ideology

Unloading 1228 unused Assets to reduce memory usage. Loaded Objects now: 31370.
Total: 539.097600 ms (FindLiveObjects: 1.284500 ms CreateObjectMapping: 1.072100 ms MarkObjects: 534.725100 ms DeleteObjects: 2.015400 ms)

Unloading 2 Unused Serialized files (Serialized files now loaded: 2)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 31992.
Total: 572.195900 ms (FindLiveObjects: 1.723400 ms CreateObjectMapping: 1.615400 ms MarkObjects: 568.798300 ms DeleteObjects: 0.058400 ms)

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 <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at (wrapper dynamic-method) RimWorld.StatWorker.RimWorld.StatWorker.GetValueUnfinalized_Patch1(RimWorld.StatWorker,RimWorld.StatRequest,bool)
at RimWorld.StatWorker.GetValue (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x00042] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.StatWorker.GetValue (Verse.Thing thing, Verse.Pawn pawn, System.Boolean applyPostProcess) [0x00008] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.StatExtension.GetStatValueForPawn (Verse.Thing thing, RimWorld.StatDef stat, Verse.Pawn pawn, System.Boolean applyPostProcess) [0x00006] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at VFECore.VerbUtility.GetVerbRangeMultiplier (Verse.Pawn pawn) [0x00000] in <527c4a8479df4472839011abb50877b2>:0
at VFECore.VerbUtility.TryModifyThingsVerbs (Verse.ThingWithComps thing) [0x00017] in <527c4a8479df4472839011abb50877b2>:0
at VFECore.DirtyCache_Patch.Postfix (Verse.HediffSet __instance) [0x00001] in <527c4a8479df4472839011abb50877b2>:0
at (wrapper dynamic-method) Verse.HediffSet.Verse.HediffSet.DirtyCache_Patch1(Verse.HediffSet)
at Verse.HediffSet.Clear () [0x0000b] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.Pawn_HealthTracker.Reset () [0x00007] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RandomPlus.RandomSettings.Reroll (Verse.Pawn pawn) [0x00181] in <46f05444095d4ecaaae167106265e3bf>:0
at (wrapper dynamic-method) RimWorld.Page_ConfigureStartingPawns.RimWorld.Page_ConfigureStartingPawns.RandomizeCurPawn_Patch2(RimWorld.Page_ConfigureStartingPawns)
at (wrapper dynamic-method) RimWorld.CharacterCardUtility.RimWorld.CharacterCardUtility.DrawCharacterCard_Patch0(UnityEngine.Rect,Verse.Pawn,System.Action,UnityEngine.Rect)
at RimWorld.Page_ConfigureStartingPawns.DrawPortraitArea (UnityEngine.Rect rect) [0x001b5] in <cdbd0ed5089a418da09b9a259f9dbd8f>: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) [0x001ce] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

And this error keeps happening for a while with slight differences:

Exception while recalculating Ugly thought state for pawn Ed: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.Pawn.get_Inspired () [0x0000a] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at (wrapper dynamic-method) RimWorld.StatWorker.RimWorld.StatWorker.GetValueUnfinalized_Patch1(RimWorld.StatWorker,RimWorld.StatRequest,bool)
at RimWorld.StatWorker.GetValue (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x00042] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.StatWorker.GetValue (Verse.Thing thing, System.Boolean applyPostProcess) [0x00007] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.StatExtension.GetStatValue (Verse.Thing thing, RimWorld.StatDef stat, System.Boolean applyPostProcess) [0x00006] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.ThoughtWorker_Ugly.CurrentSocialStateInternal (Verse.Pawn pawn, Verse.Pawn other) [0x0004a] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.ThoughtWorker.CurrentSocialState (Verse.Pawn p, Verse.Pawn otherPawn) [0x00000] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.SituationalThoughtHandler.TryCreateSocialThought (RimWorld.ThoughtDef def, Verse.Pawn otherPawn) [0x0001e] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Finally this lines get spammed on a loop:

Exception filling window for RimWorld.Page_ConfigureStartingPawns: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.Pawn_RelationsTracker.OpinionOf (Verse.Pawn other) [0x00073] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.SocialCardUtility.RecacheEntryInt (RimWorld.SocialCardUtility+CachedSocialTabEntry entry, Verse.Pawn selPawnForSocialInfo, System.Nullable`1[T] opinionOfMe, System.Nullable`1[T] opinionOfOtherPawn) [0x00031] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.SocialCardUtility.RecacheEntry (Verse.Pawn pawn, Verse.Pawn selPawnForSocialInfo, System.Nullable`1[T] opinionOfMe, System.Nullable`1[T] opinionOfOtherPawn) [0x00055] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.SocialCardUtility.Recache (Verse.Pawn selPawnForSocialInfo) [0x00033] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.SocialCardUtility.CheckRecache (Verse.Pawn selPawnForSocialInfo) [0x00012] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.SocialCardUtility.DrawRelationsAndOpinions (UnityEngine.Rect rect, Verse.Pawn selPawnForSocialInfo) [0x00000] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.Page_ConfigureStartingPawns.DrawPortraitArea (UnityEngine.Rect rect) [0x00290] in <cdbd0ed5089a418da09b9a259f9dbd8f>: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) [0x001ce] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

I do sorry if this is not the way to share issues, but im losing my mind figuring out what causes this, im not near to a developer so this is hieroglyphs for me lol, also forgive my bad english.
< >
Showing 1-1 of 1 comments
Ober 30 Dec, 2021 @ 10:48am 
I found a possible solution, using this order:

Vanilla expanded framework
CE (IF YOU HAVE COMBAT EXTENDED, If not ignore every CE)
CE Guns
CE Melee
RandomPlus
Vanilla Traits
Edb Prepared Carefully

Looks like it was only an order issue, i cant get the error again even rerolling about 100 times
< >
Showing 1-1 of 1 comments
Per page: 1530 50