RimWorld

RimWorld

Big and Small - Framework
Random pawn corruption (fixable with debug actions)
Every so often, one of my colonists' relationship data will become corrupted, causing the following bugs:

  • All unaffected pawns' opinions of them will change to either 0 or +100 and the details will be "Error getting tip text."
  • Affected pawns' social tabs will cause the GUI to malfunction and spam red errors when opened.
  • Affected pawns will cause a single red error every time they try to socialize with their partners.
  • When attempting to manually fix relationships on an affected pawn using Character Editor, the game will crash.

How to fix:
Open the debug actions menu, select "Clear Cache for pawn then refresh" under the Big & Small category, then click on the affected pawn.

Stack trace from a broken social interaction:
Exception ticking Ricky (at (170, 0, 213)): System.NullReferenceException: Object reference not set to an instance of an object [Ref D113B5A1] at BigAndSmall.RomanceTagsExtensions.<GetHighestSharedTag>g__CheckTags|0_0 (BigAndSmall.RomanceTags rOne, BigAndSmall.RomanceTags rTwo, BigAndSmall.RomanceTagsExtensions+<>c__DisplayClass0_0& ) [0x00002] in <f243b398ae16476f90e9864a6592d885>:0 at BigAndSmall.RomanceTagsExtensions.GetHighestSharedTag (BigAndSmall.BSCache first, BigAndSmall.BSCache second) [0x0000e] in <f243b398ae16476f90e9864a6592d885>:0 at BigAndSmall.RomancePatches.GetLovinghanceFactor (Verse.Pawn pawn, Verse.Pawn otherPawn, System.Single result) [0x00043] in <f243b398ae16476f90e9864a6592d885>:0 at BigAndSmall.RomancePatches.LovingFactorPostfix (System.Single& __result, RimWorld.Pawn_RelationsTracker __instance, Verse.Pawn otherPawn, Verse.Pawn ___pawn) [0x00001] in <f243b398ae16476f90e9864a6592d885>:0 at RimWorld.Pawn_RelationsTracker.SecondaryLovinChanceFactor (Verse.Pawn otherPawn) [0x00198] in <69945a8ed6c540cf90b578de735e0605>:0 - TRANSPILER RedMattis.BetterPrerequisites: IEnumerable`1 BigAndSmall.RomancePatches:LovingFactor_Transpiler(IEnumerable`1 instructions) - TRANSPILER rimworld.erdelf.alien_race.main: IEnumerable`1 AlienRace.HarmonyPatches:SecondaryLovinChanceFactorTranspiler(IEnumerable`1 instructions) - PREFIX VREAndroidsMod: Void VREAndroids.HarmonyPatches_ForRomanceReasonsChangeAge:Prefix(MethodBase __originalMethod) - POSTFIX VREAndroidsMod: Void VREAndroids.HarmonyPatches_ForRomanceReasonsChangeAge:Postfix(MethodBase __originalMethod) - POSTFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:SecondaryLovinChanceFactorPostfix(Pawn ___pawn, Pawn otherPawn, Single& __result) - POSTFIX ReSpliceCharmweavers.Mod: Void ReSpliceCharmweavers.Pawn_RelationsTracker_SecondaryLovinChanceFactor_Patch:Postfix(Single& __result, Pawn_RelationsTracker __instance, Pawn otherPawn) - POSTFIX RedMattis.BetterPrerequisites: Void BigAndSmall.RomancePatches:LovingFactorPostfix(Single& __result, Pawn_RelationsTracker __instance, Pawn otherPawn, Pawn ___pawn) at RimWorld.Pawn_RelationsTracker.SecondaryRomanceChanceFactor (Verse.Pawn otherPawn) [0x00184] in <69945a8ed6c540cf90b578de735e0605>:0 - POSTFIX ReSpliceCharmweavers.Mod: Void ReSpliceCharmweavers.Pawn_RelationsTracker_SecondaryRomanceChanceFactor_Patch:Postfix(Single& __result, Pawn_RelationsTracker __instance, Pawn otherPawn) - POSTFIX Altered.Carbon: Void AlteredCarbon.Pawn_RelationsTracker_SecondaryRomanceChanceFactor_Patch:Postfix(Pawn otherPawn, Single& __result) at RimWorld.InteractionWorker_RomanceAttempt.RandomSelectionWeight (Verse.Pawn initiator, Verse.Pawn recipient) [0x00070] in <69945a8ed6c540cf90b578de735e0605>:0 - POSTFIX RedMattis.BetterPrerequisites: Void BigAndSmall.RomancePatches:RomanceAttemptPostfix(Single& __result, Pawn initiator, Pawn recipient) - POSTFIX ReSpliceCharmweavers.Mod: Void ReSpliceCharmweavers.InteractionWorker_RomanceAttempt_RandomSelectionWeight_Patch:Postfix(Single& __result, Pawn initiator, Pawn recipient) - POSTFIX VAEInsanityMod: Void VAEInsanity.InteractionWorker_RomanceAttempt_RandomSelectionWeight_Patch:Postfix(Single& __result, Pawn initiator, Pawn recipient) - POSTFIX yowave.psychicbondtweaks: Void PsychicBondTweaks.Patches.InteractionWorker_RomanceAttempt_Patches:RandomSelectionWeight_Postfix_Patch(Single& __result, Pawn initiator, Pawn recipient) - POSTFIX VREAndroidsMod: Void VREAndroids.InteractionWorker_RomanceAttempt_RandomSelectionWeight_Patch:Postfix(Single& __result, Pawn initiator, Pawn recipient) at Hospitality.Patches.Pawn_InteractionsTracker_Patch+TryInteractRandomly+<>c__DisplayClass0_1.<Replacement>b__0 (RimWorld.InteractionDef x) [0x0001f] in <f086b02670a441c7ac199f90ab536abf>:0 at Verse.GenCollection.TryRandomElementByWeight[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] weightSelector, T& result) [0x0001f] in <69945a8ed6c540cf90b578de735e0605>:0 at Hospitality.Patches.Pawn_InteractionsTracker_Patch+TryInteractRandomly.Replacement (RimWorld.Pawn_InteractionsTracker __instance, System.Boolean& __result, Verse.Pawn ___pawn, System.Collections.Generic.List`1[T] ___workingList, System.Int32 ___lastInteractionTime) [0x0011d] in <f086b02670a441c7ac199f90ab536abf>:0 at RimWorld.Pawn_InteractionsTracker.TryInteractRandomly () [0x00018] in <69945a8ed6c540cf90b578de735e0605>:0 - PREFIX Orion.Hospitality: Boolean Hospitality.Patches.Pawn_InteractionsTracker_Patch+TryInteractRandomly:Replacement(Pawn_InteractionsTracker __instance, Boolean& __result, Pawn ___pawn, List`1 ___workingList, Int32 ___lastInteractionTime) at RimWorld.Pawn_InteractionsTracker.InteractionsTrackerTick () [0x000d5] in <69945a8ed6c540cf90b578de735e0605>:0 - POSTFIX Torann.ARimworldOfMagic: Void TorannMagic.TorannMagicMod+InteractionsTrackerTick_Patch:Postfix(Pawn_InteractionsTracker __instance, Pawn ___pawn, Boolean& ___wantsRandomInteract, Int32 ___lastInteractionTime) at Verse.Pawn.Tick () [0x0064a] in <69945a8ed6c540cf90b578de735e0605>:0 - TRANSPILER Krkr.RocketMan.Soyuz: IEnumerable`1 Soyuz.Patches.Pawn_Tick_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator generator) - POSTFIX com.github.tkkntkkn.Natures-Pretty-Sweet: Void TKKN_NPS.Pawn_Tick:Postfix(Pawn __instance) - FINALIZER Krkr.RocketMan.Soyuz: Void Soyuz.Patches.Pawn_Tick_Patch:Finalizer(Pawn __instance, Exception __exception) at Verse.TickList.Tick () [0x0015c] in <69945a8ed6c540cf90b578de735e0605>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string) Verse.TickList:Tick () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch7 (Verse.TickManager) Verse.TickManager:TickManagerUpdate () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch6 (Verse.Game) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
< >
Showing 1-1 of 1 comments
RedMattis  [developer] 2 Feb @ 10:47pm 
Should be fixed on the Github version. You could try downloading that and the B&G Genes update along with it.

The update will probably be rolled out soon, it is mostly waiting for testers to test it. :)
< >
Showing 1-1 of 1 comments
Per page: 1530 50