RimWorld

RimWorld

Rim of Madness - Vampires
Wolfguarde Jul 30, 2019 @ 1:56am
[BUG] Vampire hediff not assigning properly
Bug text:

1 -

Cannot find third generation sire.
Verse.Log:Warning(String, Boolean)
Vampire.WorldComponent_VampireTracker:TryGeneratingBloodline(Pawn, BloodlineDef)
Vampire.WorldComponent_VampireTracker:GetLaterGenerationVampire(Pawn, BloodlineDef, Int32)
Vampire.VampireRelationUtility:FindSireFor(Pawn, BloodlineDef, Int32)
Vampire.HediffVampirism:PostTick()
Verse.Pawn_HealthTracker:HealthTick_Patch2(Object)
Verse.Pawn:Tick_Patch3(Object)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update_Patch1(Object)

2 -

Exception ticking hediff (ROM_Vampirism ticksSinceCreation=1) for pawn jaguar. Removing hediff... Exception: System.ArgumentNullException: Argument cannot be null.
Parameter name: source
at System.Linq.Check.SourceAndPredicate (object,object) <0x00072>
at System.Linq.Enumerable.FirstOrDefault<Verse.Pawn> (System.Collections.Generic.IEnumerable`1<Verse.Pawn>,System.Func`2<Verse.Pawn, bool>) <0x00024>
at Vampire.WorldComponent_VampireTracker.GetLaterGenerationVampire (Verse.Pawn,Vampire.BloodlineDef,int) <0x00251>
at Vampire.VampireRelationUtility.FindSireFor (Verse.Pawn,Vampire.BloodlineDef,int) <0x0006c>
at Vampire.HediffVampirism.PostTick () <0x000d8>
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.HealthTick_Patch2 (object) <0x001ef>

Verse.Log:Error(String, Boolean)
Verse.Pawn_HealthTracker:HealthTick_Patch2(Object)
Verse.Pawn:Tick_Patch3(Object)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update_Patch1(Object)

I haven't actually had this come up automatically, but attempted to make a vampire manually via the debug menu after several "vampires" in different raid/trade groups entered the map lacking their characteristics and got this as a result. Nothing in their health/trait windows, able to walk in sunlight, etc... and no error message. The mod's well below its prerequisites in my modlist, and I still get the notification when a vampire enters the map. However, the notification log isn't displaying the tier (each space the integer for vampire tier should be is simply empty in their respective notifications).
< >
Showing 1-3 of 3 comments
Redbeard7 Dec 31, 2020 @ 7:13am 
i recently had this exact same error occur in game.
Bic Boy Aug 12, 2021 @ 10:21am 
Just had this start happening to me, welp.

edit: I stripped most of my mods and the problem goes away, so I'm guessing it's a conflict.

Exception ticking hediff (ROM_Vampirism ticksSinceCreation=1) for pawn Kallman. Removing hediff... Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Vampire.WorldComponent_VampireTracker.GetLaterGenerationVampire (Verse.Pawn childe, Vampire.BloodlineDef bloodline, System.Int32 idealGenerationOfChilde) [0x0008b] in <f16fe44154e04117a066273035e2132d>:0
at Vampire.VampireRelationUtility.FindSireFor (Verse.Pawn pawn, Vampire.BloodlineDef bloodline, System.Int32 idealGeneration) [0x0000d] in <f16fe44154e04117a066273035e2132d>:0
at Vampire.HediffVampirism.PostTick () [0x0005b] in <f16fe44154e04117a066273035e2132d>:0
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.HealthTick_Patch0(Verse.Pawn_HealthTracker)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.HealthTick_Patch0 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
Verse.ThingOwner:ThingOwnerTick (bool)
RimWorld.ActiveDropPod:Tick ()
Verse.ThingOwner:ThingOwnerTick (bool)
(wrapper dynamic-method) RimWorld.Skyfaller:RimWorld.Skyfaller.Tick_Patch1 (RimWorld.Skyfaller)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()


edit 2: Seems like Better Pawn Control was the issue, unfortunately only new saves are fixed, my current run is screwed :(
Last edited by Bic Boy; Aug 12, 2021 @ 12:46pm
deardoctorjohn Aug 12, 2021 @ 8:04pm 
You were 100% right and thank you a ton for saving another random hours of mod searching, you rock.



Originally posted by Bic Boy:
Just had this start happening to me, welp.

edit: I stripped most of my mods and the problem goes away, so I'm guessing it's a conflict.

Exception ticking hediff (ROM_Vampirism ticksSinceCreation=1) for pawn Kallman. Removing hediff... Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Vampire.WorldComponent_VampireTracker.GetLaterGenerationVampire (Verse.Pawn childe, Vampire.BloodlineDef bloodline, System.Int32 idealGenerationOfChilde) [0x0008b] in <f16fe44154e04117a066273035e2132d>:0
at Vampire.VampireRelationUtility.FindSireFor (Verse.Pawn pawn, Vampire.BloodlineDef bloodline, System.Int32 idealGeneration) [0x0000d] in <f16fe44154e04117a066273035e2132d>:0
at Vampire.HediffVampirism.PostTick () [0x0005b] in <f16fe44154e04117a066273035e2132d>:0
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.HealthTick_Patch0(Verse.Pawn_HealthTracker)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.HealthTick_Patch0 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
Verse.ThingOwner:ThingOwnerTick (bool)
RimWorld.ActiveDropPod:Tick ()
Verse.ThingOwner:ThingOwnerTick (bool)
(wrapper dynamic-method) RimWorld.Skyfaller:RimWorld.Skyfaller.Tick_Patch1 (RimWorld.Skyfaller)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()


edit 2: Seems like Better Pawn Control was the issue, unfortunately only new saves are fixed, my current run is screwed :(
Last edited by deardoctorjohn; Aug 12, 2021 @ 8:05pm
< >
Showing 1-3 of 3 comments
Per page: 1530 50