RimWorld

RimWorld

Vanilla Social Interactions Expanded
Endeo 7. aug. 2023 kl. 15:05
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
< >
Viser 1-10 af 10 kommentarer
Endeo 7. aug. 2023 kl. 23:20 
Ending event by drafting two related to it pawns end it.
xVALERAx 16. nov. 2023 kl. 14:07 
https://gist.github.com/HugsLibRecordKeeper/b6aebe586fc4e4e14dfd255eb193c101

If related to this mod I'm glad, if not, delete my post please
SpaceSR 4. maj 2024 kl. 9:43 
Is it because of this mod my colonist's just decided to marry a prisoner?
秋月辰 15. sep. 2024 kl. 8:04 
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 24. sep. 2024 kl. 6:18 
Oprindeligt skrevet af 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 6. mar. kl. 10:27 
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 25. maj kl. 12:27 
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 ()
Scionin 30. juli kl. 10:25 
I don't have any FCP mods in my modlist... Vanilla Social Interactions Expanded was the only other mod other than Harmony mentioned in this part of the log. Is it something else?


https://gist.github.com/HugsLibRecordKeeper/4a58ae6859f710807b2e7761f6ba1c09


Error patching FCP_Shuttles.PawnsArrivalModeWorker_VertibirdAttack - Void Arrive(System.Collections.Generic.List`1[Verse.Pawn], RimWorld.IncidentParms) - System.MissingMethodException: Method not found: Verse.TraverseParms Verse.TraverseParms.For(Verse.TraverseMode,Verse.Danger,bool,bool,bool)
[Ref 2E6FD7C2]
(wrapper managed-to-native) System.Reflection.RuntimeModule.ResolveMethodToken(intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&)
at System.Reflection.RuntimeModule.ResolveMethod (System.Reflection.Module module, System.IntPtr monoModule, System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) [0x0000f] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Reflection.RuntimeModule.ResolveMethod (System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction) [0x00366] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.MethodBodyReader.GenerateInstructions () [0x00022] in <8124cc12bdf242eab0a5f7e7edecf387>:0
<0x220358158a0 + 0x0014a> <unknown method>
at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x002f5] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00059] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x0002a] in <8124cc12bdf242eab0a5f7e7edecf387>:0
<0x22039a604f0 + 0x001d2> <unknown method>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
VanillaSocialInteractionsExpanded.RaidPatches:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.StaticConstructorOnStartupUtility.CallAll_Patch1 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LongEventHandler.ExecuteToExecuteWhenFinished_Patch0 ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Entry.Update_Patch0 (Verse.Root_Entry)
Sidst redigeret af Scionin; 30. juli kl. 10:26
< >
Viser 1-10 af 10 kommentarer
Per side: 1530 50