RimWorld

RimWorld

Vanilla Social Interactions Expanded
Error CuredMyFriend Opinion from this mod.
After reloading the game. This happened. It's a gamebreaking error since it keeps generating the error. Don't mind the other errors from the other mods.

https://gist.github.com/423679a96bc93ea3a80570b4f859ad00

IMAGE:
https://ibb.co/ChhP71h

ERROR:
Error: System.NullReferenceException: Object reference not set to an instance of an object
at VanillaSocialInteractionsExpanded.Thought_CuredMyFriend.OpinionOf (Verse.Pawn other) [0x00001] in <3451a64b2c1d47328af10549605fa4db>:0
at VanillaSocialInteractionsExpanded.Thought_CuredMyFriend.<OpinionOffset>b__2_0 (VanillaSocialInteractionsExpanded.Tale_TriplePawn tale) [0x0002d] in <3451a64b2c1d47328af10549605fa4db>:0
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
VanillaSocialInteractionsExpanded.Thought_CuredMyFriend:<OpinionOffset>b__2_0(Tale_TriplePawn)
VanillaSocialInteractionsExpanded.VSIE_Utils:GetLatestTriplePawnTale(TaleDef, Predicate`1)
VanillaSocialInteractionsExpanded.Thought_CuredMyFriend:OpinionOffset()
RimWorld.ThoughtHandler:OpinionOffsetOfGroup(ISocialThought, Pawn)
RimWorld.ThoughtHandler:TotalOpinionOffset(Pawn)
RimWorld.Pawn_RelationsTracker:OpinionOf(Pawn)
Rumor_Code.ThoughtWorker_EveryoneGetsOn:CurrentStateInternal(Pawn)
RimWorld.ThoughtWorker:RimWorld.ThoughtWorker.CurrentState_Patch1(ThoughtWorker, Pawn)
RimWorld.SituationalThoughtHandler:RimWorld.SituationalThoughtHandler.TryCreateThought_Patch1(SituationalThoughtHandler, ThoughtDef)
RimWorld.SituationalThoughtHandler:CheckRecalculateMoodThoughts()
RimWorld.SituationalThoughtHandler:AppendMoodThoughts(List`1)
RimWorld.ThoughtHandler:GetAllMoodThoughts(List`1)
RimWorld.ThoughtHandler:GetDistinctMoodThoughtGroups(List`1)
RimWorld.ThoughtHandler:TotalMoodOffset()
RimWorld.Need_Mood:get_CurInstantLevel()
RimWorld.Need_Seeker:NeedInterval()
RimWorld.Need_Mood:RimWorld.Need_Mood.NeedInterval_Patch1(Need_Mood)
RimWorld.Pawn_NeedsTracker:RimWorld.Pawn_NeedsTracker.NeedsTrackerTick_Patch1(Pawn_NeedsTracker)
Verse.Pawn:Verse.Pawn.Tick_Patch5(Pawn)
Verse.TickList:Tick()
Verse.TickManager:Verse.TickManager.DoSingleTick_Patch5(TickManager)
Verse.TickManager:Verse.TickManager.TickManagerUpdate_Patch1(TickManager)
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
Last edited by (≡◉‿‿◉≡); 13 Jun, 2021 @ 11:46pm
< >
Showing 1-2 of 2 comments
Regularity 28 Jun, 2021 @ 10:44am 
After looking into this error in my game (I don't know if it's the same cause in this person's game), I found the cause: Animals.

In my game, animals are able to perform basic pawn jobs, such as tending prisoners. The mod appears to attempt to apply a relationship buff to the animal, but seeing as animals are incapable of having normal pawn relationships... you get this error.

So to the mod author: Ideally there would be a check for this (and possibly other) three-pawn relationship events to check if one of the parties is an animal. If that is too complex or not possible, the next-best option would be a mod setting to disable these three-pawn relationship events for players that do have mods enabling animals to treat wounds.
CrackaJack 29 Jun, 2021 @ 7:31am 
animals tending prisoners... tssk, u deserved a bug for that xD like in a cartoon.
fun aside-ty for finding that out, will help with avoiding bugs for sure
< >
Showing 1-2 of 2 comments
Per page: 1530 50