RimWorld

RimWorld

A RimWorld of Magic
TeeRatt Sep 6, 2021 @ 5:21pm
Necromancer cant raise undead animals
I cannot seem to raise undead on any animals in this save. People work fine but i get the below error with every animal i can find.

Exception ticking Projectile_RaiseUndead145248: System.NullReferenceException: Object reference not set to an instance of an object
at TorannMagic.Projectile_RaiseUndead.Impact (Verse.Thing hitThing) [0x0040b] in <1360137e033643529ab6be7dd5923296>:0
at AbilityUser.Projectile_AbilityBase.ImpactSomething () [0x000f0] in <b087bfa48acd4adc8731377d4394acb7>:0
at AbilityUser.Projectile_AbilityBase.Tick () [0x0003f] in <b087bfa48acd4adc8731377d4394acb7>:0
at Verse.TickList.Tick () [0x0015c] in <d243303f714d4dc48680ccaecd2f594e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
< >
Showing 1-4 of 4 comments
Spritz Sep 13, 2021 @ 6:51am 
I have a similar problem, raising people works for me aswell, and I can raise the animals too, but after a couple seconds the animals lose their undead hediff, and can get hungry, like a living one. (Still has a rotten corpse when killed)

Exception ticking hediff (TM_UndeadAnimalHD ticksSinceCreation=227) for pawn Warg36986. Removing hediff... Exception: System.NullReferenceException: Object reference not set to an instance of an object
at TorannMagic.HediffComp_Undead.CompPostTick (System.Single& severityAdjustment) [0x001f3] in <bf8ec95b40b64470abe734490d60a1b4>:0
at Verse.HediffWithComps.PostTick () [0x00024] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
at Verse.Pawn_HealthTracker.HealthTick () [0x00039] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Pawn_HealthTracker:HealthTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
Last edited by Spritz; Sep 13, 2021 @ 7:02am
strkrjns Sep 27, 2021 @ 6:33am 
Same issue as Spritz, undead animals return to life as fully trained pets after a few seconds
Torann  [developer] Sep 28, 2021 @ 12:52pm 
Not compatible with rim73; you might be able to disable the hediff optimization to make it compatible (haven't tested to confirm). Deciding to process hediffs at a reduce rate will break any custom hediff that looks to perform actions at periodic intervals.
Ohrendude Oct 8, 2021 @ 1:50pm 
Originally posted by Torann:
Not compatible with rim73;

I actually did some testing and only had stuff like jecstools and edbprepare for quick testing and still had the same problem of the animal returning to life, seems to be seperate to the rim73 issue with pawns.
< >
Showing 1-4 of 4 comments
Per page: 1530 50