RimWorld

RimWorld

Vanilla Social Interactions Expanded
Mofangzhe May 3, 2024 @ 4:16pm
Ramdom Red Error Log
idk whats going on but i post it for ask if is posible to fix it

Exception ticking Gates (at (113, 0, 112)): System.ArgumentNullException: Value cannot be null.
Parameter name: type
[Ref 2735E6A7]
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00003] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at RimWorld.PawnRelationDef.get_Worker () [0x00008] in <a1dcdc3aee3f4bb693529c51a3916574>:0
at RimWorld.PawnRelationUtility+<GetRelations>d__0.MoveNext () [0x000e0] in <a1dcdc3aee3f4bb693529c51a3916574>:0
at RimWorld.Pawn_RelationsTracker.SecondaryRomanceChanceFactor (Verse.Pawn otherPawn) [0x0002e] in <a1dcdc3aee3f4bb693529c51a3916574>:0
at RimWorld.InteractionWorker_RomanceAttempt.RandomSelectionWeight (Verse.Pawn initiator, Verse.Pawn recipient) [0x00070] in <a1dcdc3aee3f4bb693529c51a3916574>:0
- POSTFIX OskarPotocki.VanillaSocialInteractionsExpanded: Void VanillaSocialInteractionsExpanded.InteractionWorker_RomanceAttempt_RandomSelectionWeight_Patch:Postfix(Single& __result, Pawn initiator, Pawn recipient)
at RimWorld.Pawn_InteractionsTracker+<>c__DisplayClass36_0.<TryInteractRandomly>b__0 (RimWorld.InteractionDef x) [0x00020] in <a1dcdc3aee3f4bb693529c51a3916574>:0
at Verse.GenCollection.TryRandomElementByWeight[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] weightSelector, T& result) [0x0001f] in <a1dcdc3aee3f4bb693529c51a3916574>:0
at RimWorld.Pawn_InteractionsTracker.TryInteractRandomly () [0x001df] in <a1dcdc3aee3f4bb693529c51a3916574>:0
- PREFIX OskarPotocki.VanillaSocialInteractionsExpanded: Boolean VanillaSocialInteractionsExpanded.TryInteractRandomly_Patch:Prefix(Pawn_InteractionsTracker __instance, Pawn ___pawn, Boolean& __result)
at RimWorld.Pawn_InteractionsTracker.InteractionsTrackerTick () [0x0008d] in <a1dcdc3aee3f4bb693529c51a3916574>:0
at Verse.Pawn.Tick () [0x00196] in <a1dcdc3aee3f4bb693529c51a3916574>:0
at Verse.TickList.Tick () [0x0015c] in <a1dcdc3aee3f4bb693529c51a3916574>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()