RimWorld

RimWorld

Vanilla Social Interactions Expanded
Endeo Aug 7, 2023 @ 3:05pm
Bug Reports
When my pawns got event meal togever I got this bug on every tick:

Exception while ticking lord with job VanillaSocialInteractionsExpanded.LordJob_Joinable_MealTogether:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Verse.EdificeGrid.get_Item (Verse.IntVec3 c) [0x00017] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.GridsUtility.GetEdifice (Verse.IntVec3 c, Verse.Map map) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at AlphaMemes.GatheringsUtility_InGatheringArea_Patch.Postfix (System.Boolean& __result, Verse.IntVec3 cell, Verse.IntVec3 partySpot, Verse.Map map) [0x0000a] in <aea9468dc0834e8a87235495199e8cc3>:0
at (wrapper dynamic-method) RimWorld.GatheringsUtility.RimWorld.GatheringsUtility.InGatheringArea_Patch1(Verse.IntVec3,Verse.IntVec3,Verse.Map)
at RimWorld.LordToil_Gathering.LordToilTick () [0x00028] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.LordToil_Party.LordToilTick () [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.AI.Group.Lord.LordTick () [0x000aa] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.AI.Group.LordManager.LordManagerTick () [0x00011] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.AI.Group.LordManager:LordManagerTick ()
Verse.Map:MapPostTick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch7 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

full hugslib log: https://gist.github.com/HugsLibRecordKeeper/9c92ce3ec4a7d6bdc954f64203afad4c
< >
Showing 1-9 of 9 comments
Endeo Aug 7, 2023 @ 11:20pm 
Ending event by drafting two related to it pawns end it.
xVALERAx Nov 16, 2023 @ 2:07pm 
https://gist.github.com/HugsLibRecordKeeper/b6aebe586fc4e4e14dfd255eb193c101

If related to this mod I'm glad, if not, delete my post please
SpaceSR May 4, 2024 @ 9:43am 
Is it because of this mod my colonist's just decided to marry a prisoner?
Akitsuki Sep 15, 2024 @ 8:04am 
Exception while recalculating VSIE_IsRoyalty thought state for pawn 何水卉: System.NullReferenceException: Object reference not set to an instance of an object
[Ref F7DD7160]
at VanillaSocialInteractionsExpanded.ThoughtWorker_IsRoyalty.IsRoyalty (Verse.Pawn pawn, Verse.Pawn other) [0x0000d] in :0
at VanillaSocialInteractionsExpanded.ThoughtWorker_IsRoyalty.CurrentSocialStateInternal (Verse.Pawn p, Verse.Pawn other) [0x00035] in :0
at RimWorld.ThoughtWorker.CurrentSocialState (Verse.Pawn p, Verse.Pawn otherPawn) [0x00010] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at RimWorld.SituationalThoughtHandler.TryCreateSocialThought (RimWorld.ThoughtDef def, Verse.Pawn otherPawn) [0x0001e] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
RimWorld.SituationalThoughtHandler:TryCreateSocialThought (RimWorld.ThoughtDef,Verse.Pawn)
RimWorld.SituationalThoughtHandler:CheckRecalculateSocialThoughts (Verse.Pawn)
RimWorld.SituationalThoughtHandler:AppendSocialThoughts (Verse.Pawn,System.Collections.Generic.List`1<RimWorld.ISocialThought>)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.ThoughtHandler.GetSocialThoughts_Patch1 (RimWorld.ThoughtHandler,Verse.Pawn,System.Collections.Generic.List`1<RimWorld.ISocialThought>)
RimWorld.ThoughtHandler:GetDistinctSocialThoughtGroups (Verse.Pawn,System.Collections.Generic.List`1<RimWorld.ISocialThought>)
RimWorld.ThoughtHandler:TotalOpinionOffset (Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.Pawn_RelationsTracker.OpinionOf_Patch1 (RimWorld.Pawn_RelationsTracker,Verse.Pawn)
DSFI.JobGivers.IdleJobGiver_Thinking/<>c__DisplayClass0_0:<TryGiveJob>b__1 (RimWorld.Thought_Memory)
System.Linq.Enumerable/WhereSelectListIterator`2<RimWorld.Thought_Memory, Verse.Pawn>:MoveNext ()
Verse.GenCollection:TryRandomElementByWeight<Verse.Pawn> (System.Collections.Generic.IEnumerable`1<Verse.Pawn>,System.Func`2<Verse.Pawn, single>,Verse.Pawn&)
DSFI.JobGivers.IdleJobGiver_Thinking:TryGiveJob (Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:DSFI.ThinkNode_ColonistIdle.TryIssueJobPackage_Patch1 (DSFI.ThinkNode_ColonistIdle,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Glue:AbiFixup<Verse.AI.ThinkResult DSFI.ThinkNode_ColonistIdle:TryIssueJobPackage(Verse.Pawn, Verse.AI.JobIssueParams),Verse.AI.ThinkResult DSFI.ThinkNode_ColonistIdle.TryIssueJobPackage_Patch1(DSFI.ThinkNode_ColonistIdle, Verse.Pawn, Verse.AI.JobIssueParams)> (DSFI.ThinkNode_ColonistIdle,Verse.AI.ThinkResult&,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.ThinkNode_Priority.TryIssueJobPackage_Patch1 (Verse.AI.ThinkNode_Priority,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Glue:AbiFixup<Verse.AI.ThinkResult Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Verse.Pawn, Verse.AI.JobIssueParams),Verse.AI.ThinkResult Verse.AI.ThinkNode_Priority.TryIssueJobPackage_Patch1(Verse.AI.ThinkNode_Priority, Verse.Pawn, Verse.AI.JobIssueParams)> (Verse.AI.ThinkNode_Priority,Verse.AI.ThinkResult&,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.ThinkNode_Tagger.TryIssueJobPackage_Patch1 (Verse.AI.ThinkNode_Tagger,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Glue:AbiFixup<Verse.AI.ThinkResult Verse.AI.ThinkNode_Tagger:TryIssueJobPackage(Verse.Pawn, Verse.AI.JobIssueParams),Verse.AI.ThinkResult Verse.AI.ThinkNode_Tagger.TryIssueJobPackage_Patch1(Verse.AI.ThinkNode_Tagger, Verse.Pawn, Verse.AI.JobIssueParams)> (Verse.AI.ThinkNode_Tagger,Verse.AI.ThinkResult&,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.ThinkNode_Priority.TryIssueJobPackage_Patch1 (Verse.AI.ThinkNode_Priority,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Glue:AbiFixup<Verse.AI.ThinkResult Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Verse.Pawn, Verse.AI.JobIssueParams),Verse.AI.ThinkResult Verse.AI.ThinkNode_Priority.TryIssueJobPackage_Patch1(Verse.AI.ThinkNode_Priority, Verse.Pawn, Verse.AI.JobIssueParams)> (Verse.AI.ThinkNode_Priority,Verse.AI.ThinkResult&,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.ThinkNode_Conditional.TryIssueJobPackage_Patch1 (Verse.AI.ThinkNode_Conditional,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Glue:AbiFixup<Verse.AI.ThinkResult Verse.AI.ThinkNode_Conditional:TryIssueJobPackage(Verse.Pawn, Verse.AI.JobIssueParams),Verse.AI.ThinkResult Verse.AI.ThinkNode_Conditional.TryIssueJobPackage_Patch1(Verse.AI.ThinkNode_Conditional, Verse.Pawn, Verse.AI.JobIssueParams)> (Verse.AI.ThinkNode_Conditional,Verse.AI.ThinkResult&,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.ThinkNode_Priority.TryIssueJobPackage_Patch1 (Verse.AI.ThinkNode_Priority,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Glue:AbiFixup<Verse.AI.ThinkResult Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Verse.Pawn, Verse.AI.JobIssueParams),Verse.AI.ThinkResult Verse.AI.ThinkNode_Priority.TryIssueJobPackage_Patch1(Verse.AI.ThinkNode_Priority, Verse.Pawn, Verse.AI.JobIssueParams)> (Verse.AI.ThinkNode_Priority,Verse.AI.ThinkResult&,Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch2 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Glue:AbiFixup<Verse.AI.ThinkResult Verse.AI.Pawn_JobTracker:DetermineNextJob(Verse.ThinkTreeDef&, System.Boolean),Verse.AI.ThinkResult Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch2(Verse.AI.Pawn_JobTracker, Verse.ThinkTreeDef&, System.Boolean)> (Verse.AI.Pawn_JobTracker,Verse.AI.ThinkResult&,Verse.ThinkTreeDef&,bool)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch6 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch2 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

i need help!!
Bogglin Sep 24, 2024 @ 6:18am 
Originally posted by Akitsuki:
Exception while recalculating VSIE_IsRoyalty thought state for pawn 何水卉: System.NullReferenceException: Object reference not set to an instance of an object
[Ref F7DD7160]
....

I had this error as well. I had one telepathic pawn and one prisoner. The error stopped after the prisoner died.
So my guess is that its related to to telepathy not playing nice with pawns that are not telepathic.
Alerios Mar 6 @ 10:27am 
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 71FA00B9]
at VanillaSocialInteractionsExpanded.GatheringWorker_MealTogether.GetChairFor (Verse.Pawn pawn, Verse.Thing food, Verse.Thing firstChair) [0x0003e] in :0
at VanillaSocialInteractionsExpanded.GatheringWorker_MealTogether.TryFindProperFood (Verse.Pawn organizer, Verse.Pawn companion) [0x00023] in :0
at VanillaSocialInteractionsExpanded.GatheringWorker_MealTogether.PawnsCanGatherTogether (Verse.Pawn organizer, Verse.Pawn companion) [0x0000b] in :0
at VanillaSocialInteractionsExpanded.GatheringWorker_DoublePawn+<>c__DisplayClass6_0.<FindCompanion>b__0 (Verse.Pawn candidate) [0x0002b] in :0
at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at VanillaSocialInteractionsExpanded.GatheringWorker_DoublePawn.FindCompanion (Verse.Pawn organizer, RimWorld.GatheringDef gatheringDef) [0x0004e] in :0
at VanillaSocialInteractionsExpanded.GatheringWorker_DoublePawn+<>c__DisplayClass5_0.<FindRandomGatheringOrganizer>b__0 (Verse.Pawn organizer) [0x00022] in :0
at VanillaSocialInteractionsExpanded.GatheringWorker_DoublePawn+<>c__DisplayClass5_0.<FindRandomGatheringOrganizer>b__1 (Verse.Pawn x) [0x00000] in :0
at System.Linq.Enumerable+WhereListIterator`1[TSource].ToList () [0x00017] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Verse.GenCollection.TryRandomElement[T] (System.Collections.Generic.IEnumerable`1[T] source, T& result) [0x00029] in <69945a8ed6c540cf90b578de735e0605>:0
at VanillaSocialInteractionsExpanded.GatheringWorker_DoublePawn.FindRandomGatheringOrganizer (RimWorld.Faction faction, Verse.Map map, RimWorld.GatheringDef gatheringDef, Verse.Pawn& companion) [0x00044] in :0
at VanillaSocialInteractionsExpanded.GatheringWorker_DoublePawn.FindOrganizerCustom (Verse.Map map, Verse.Pawn& companion) [0x00007] in :0
at VanillaSocialInteractionsExpanded.GatheringWorker_DoublePawn.CanExecute (Verse.Map map, Verse.Pawn organizer) [0x0000a] in :0
at VanillaSocialInteractionsExpanded.GatheringWorker_Dating.CanExecute (Verse.Map map, Verse.Pawn organizer) [0x00012] in :0
at RimWorld.GatheringDef.CanExecute (Verse.Map map, Verse.Pawn organizer, System.Boolean ignoreGameConditions) [0x00012] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.VoluntarilyJoinableLordsStarter.TryStartRandomGathering (System.Boolean forceStart) [0x00027] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.VoluntarilyJoinableLordsStarter.Tick_TryStartRandomGathering () [0x0005d] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.VoluntarilyJoinableLordsStarter.VoluntarilyJoinableLordsStarterTick () [0x00000] in <69945a8ed6c540cf90b578de735e0605>:0
at Verse.Map.MapPostTick () [0x0010a] in <69945a8ed6c540cf90b578de735e0605>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.Map:MapPostTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
Verse.Root_Play:Update ()
qux May 25 @ 12:27pm 
Accessing TicksAbs but gameStartAbsTick is not set yet (you most likely want to use GenTicks.TicksAbs instead).
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch5 (string)
Verse.Log:ErrorOnce (string,int)
Verse.TickManager:get_TicksAbs ()
RimWorld.TaleFactory:MakeRawTale (RimWorld.TaleDef,object[])
RimWorld.TaleRecorder:RecordTale (RimWorld.TaleDef,object[])
VanillaSocialInteractionsExpanded.AddDirectRelation_Patch/<>c__DisplayClass0_0:<Prefix>b__0 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
< >
Showing 1-9 of 9 comments
Per page: 1530 50