RimWorld

RimWorld

Bun Race
merc_birb 12 Sep, 2021 @ 5:43pm
Bun colonists dying with small injuries
The first time it happened, i thought it was a glitch. The second, I knew something was wrong. The third i actually managed to grab a shot of the error log:

Detected infinite stat recursion when evaluating Consciousness
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.PawnCapacitiesHandler:GetLevel (Verse.PawnCapacityDef)
Verse.PawnCapacitiesHandler:CapableOf (Verse.PawnCapacityDef)
Verse.Pawn_HealthTracker:ShouldBeDeadFromRequiredCapacity ()
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.ShouldBeDead_Patch0 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.CheckForStateChange_Patch4 (Verse.Pawn_HealthTracker,System.Nullable`1<Verse.DamageInfo>,Verse.Hediff)
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.Notify_HediffChanged_Patch1 (Verse.Pawn_HealthTracker,Verse.Hediff)
Verse.Hediff_Injury:Heal (single)
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.HealthTick_Patch0 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()

SOYUZ:[NOTSOYUZ] Soyuz caught an error while a pawn is ticking. Soyuz probably didn't cause it since this is just used to catch the exception and reset the state. Unless Soyuz is in the StackTrace it's not it. with error System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.HealthTick_Patch0(Verse.Pawn_HealthTracker)
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch1(Verse.Pawn)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
RocketMan.Logger:Debug (string,System.Exception,string)
Soyuz.Patches.Pawn_Tick_Patch:Finalizer (Verse.Pawn,System.Exception)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()

Exception ticking Clements. Suppressing further errors. Exception: System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch1(Verse.Pawn)
at Verse.TickList.Tick () [0x0015c] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Log:ErrorOnce (string,int)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()



i unfortunately don't know how to read most of this, but I do know this glitch has ONLY happened to my 3 bun colonists and the first two times were for minor bruises. Can anyone help me out?
< >
Showing 1-4 of 4 comments
merc_birb 18 Oct, 2021 @ 11:23am 
Just updating, I had this happen again twice yesterday, both times it was when the character was healing from a bruise.
Spanky_H  [developer] 9 Dec, 2021 @ 11:09am 
Sorry, didn't notice this thread until just now. D:

Steam doesn't seem to notify me of these popping up.

That said, I've never had this issue. This part: "System.NullReferenceException: Object reference not set to an instance of an object" basically means that something is being referenced that isn't properly defined, which unfortunately could be a lot of things.

Are you using any other mods like death rattle or anything that modifies body definitions?
merc_birb 14 Mar, 2022 @ 4:22pm 
It actually turns out that it might be a glitch with RimForge, if what I've read is correct. It started happening with human pawns when I didn't have the Bun mod turned on, which tipped me off.
Spanky_H  [developer] 14 Mar, 2022 @ 7:07pm 
Thanks for the update!
< >
Showing 1-4 of 4 comments
Per page: 1530 50