RimWorld

RimWorld

Vanilla Social Interactions Expanded
Foxtrot39 Aug 18, 2023 @ 3:35am
Game breaking bug (Triggered at random after using resurrection serum )
This is followed by "error killing X at phase 3" causing social tab to break and pawn being unable to die even if missing every body part

Since it contain VSIE error it might be linked

After the error below I tried to dev kill a colonist right after and the phase 3 error occured


https://gist.github.com/HugsLibRecordKeeper/8fde39b1be5398ff5eac6bf97fdf9f9e


Could not execute post-long-event action. Exception: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.Pawn_RelationsTracker+<get_PotentiallyRelatedPawns>d__36.MoveNext () [0x00131] in <95de19971c5d40878d8742747904cdcd>:0
at VanillaSocialInteractionsExpanded.SpawnSetup_Patch+<>c__DisplayClass0_0.<Postfix>b__0 () [0x0014b] in <3919b1087b0844b8a896310c1c7a165d>:0
at Verse.LongEventHandler.ExecuteToExecuteWhenFinished () [0x0007c] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:ExecuteWhenFinished (System.Action)
VanillaSocialInteractionsExpanded.SpawnSetup_Patch:Postfix (Verse.Pawn,Verse.Map,bool)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.SpawnSetup_Patch7 (Verse.Pawn,Verse.Map,bool)
(wrapper dynamic-method) Verse.GenSpawn:Verse.GenSpawn.Spawn_Patch3 (Verse.Thing,Verse.IntVec3,Verse.Map,Verse.Rot4,Verse.WipeMode,bool)
Verse.GenPlace:SplitAndSpawnOneStackOnCell (Verse.Thing,Verse.IntVec3,Verse.Rot4,Verse.Map,Verse.Thing&,System.Action`2<Verse.Thing, int>)
Verse.GenPlace:TryPlaceDirect (Verse.Thing,Verse.IntVec3,Verse.Rot4,Verse.Map,Verse.Thing&,System.Action`2<Verse.Thing, int>)
Verse.GenPlace:TryPlaceThing (Verse.Thing,Verse.IntVec3,Verse.Map,Verse.ThingPlaceMode,Verse.Thing&,System.Action`2<Verse.Thing, int>,System.Predicate`1<Verse.IntVec3>,Verse.Rot4)
(wrapper dynamic-method) Verse.GenDrop:Verse.GenDrop.TryDropSpawn_Patch2 (Verse.Thing,Verse.IntVec3,Verse.Map,Verse.ThingPlaceMode,Verse.Thing&,System.Action`2<Verse.Thing, int>,System.Predicate`1<Verse.IntVec3>,bool)
Verse.ThingOwner:TryDrop (Verse.Thing,Verse.IntVec3,Verse.Map,Verse.ThingPlaceMode,Verse.Thing&,System.Action`2<Verse.Thing, int>,System.Predicate`1<Verse.IntVec3>,bool)
Verse.ThingOwner`1<Verse.Thing>:TryDrop (Verse.Thing,Verse.IntVec3,Verse.Map,Verse.ThingPlaceMode,Verse.Thing&,System.Action`2<Verse.Thing, int>,System.Predicate`1<Verse.IntVec3>)
Verse.Pawn_CarryTracker:TryDropCarriedThing (Verse.IntVec3,Verse.ThingPlaceMode,Verse.Thing&,System.Action`2<Verse.Thing, int>)
RimWorld.RestUtility:TuckIntoBed (RimWorld.Building_Bed,Verse.Pawn,Verse.Pawn,bool)
RimWorld.Toils_Bed/<>c__DisplayClass6_0:<TuckIntoBed>b__0 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) Verse.AI.Pawn_PathFollower:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) Verse.AI.Pawn_PathFollower:Verse.AI.Pawn_PathFollower.PatherTick_Patch3 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch3 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch6 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch6 (Verse.Game)
Verse.Root_Play:Update ()
Last edited by Foxtrot39; Aug 18, 2023 @ 3:42am