RimWorld

RimWorld

Immortals
kippetje2000 Jul 20, 2021 @ 3:59pm
Beheading is not working in the new update 1.3
Im just getting this message:
JobDriver threw exception in initAction for pawn Kitsuki driver=JobDriver_Behead (toilIndex=2) driver.job=(IH_Behead (Job_427071) A=Thing_AEXP_Lemur125821) System.NullReferenceException: Object reference not set to an instance of an object at Immortals.JobDriver_Behead.<MakeNewToils>b__1_3 () [0x00217] in <d66a8ad7e7184c27b625ba916e4418f3>:0 at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001de] in <69bb6e66186e424eb26bbf02d65f9e35>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Warning (string) (wrapper dynamic-method) Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch0 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver) Verse.AI.JobDriver:TryActuallyStartNextToil () Verse.AI.JobDriver:ReadyForNextToil () (wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver) (wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker) (wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn) Verse.TickList:Tick () (wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1 (Verse.TickManager) Verse.TickManager:TickManagerUpdate () (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game) Verse.Root_Play:Update ()
< >
Showing 1-12 of 12 comments
Arkitekt Jul 21, 2021 @ 2:11pm 
Got the same exact error when I attempted to behead someone. My error is below:

JobDriver threw exception in initAction for pawn Comrecotol driver=JobDriver_Behead (toilIndex=2) driver.job=(IH_Behead (Job_22752) A=Thing_Human51733)
System.NullReferenceException: Object reference not set to an instance of an object
at Immortals.JobDriver_Behead.<MakeNewToils>b__1_3 () [0x00217] in <d66a8ad7e7184c27b625ba916e4418f3>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001de] in <7aa4c659ec6748c0a59a122ff5db3745>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:DriverTick ()
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

I stated in my comments on the mod page, that I would test out the mod on it's own. This happened during that test. I didn't have any other issues, giving a random pawn immortality, so I believe my other issues are mod-conflicts.

And to be clear, I tested beheading a pawn that was given immortality via dev menu, and a pawn that was spawned in with immortality. Both pawns threw this error.
fridgeBaron  [developer] Jul 21, 2021 @ 8:14pm 
were they dead or just downed? hopefully I can get this all sorted out tomorrow
Arkitekt Jul 21, 2021 @ 9:23pm 
I just tested that theory out. They were in fact just downed for me. I beheaded a non-immortal that was dead just now and no errors were thrown.

So I believe it's an issue with downed pawns.
Arkitekt Jul 21, 2021 @ 9:24pm 
During that initial test, I beheaded just immortals, so give me a second to test this on someone who is immortal.
Arkitekt Jul 21, 2021 @ 9:27pm 
Alright, trip report. I gave a dead pawn immortality (no body part x2).

No errors were thrown.

But, the usual lightning happened (passions were passed to my pawn) and a head was dropped. My pawn was already immortal. I'm not sure if this is expected behavior, but figured I would report it.
kippetje2000 Jul 23, 2021 @ 12:38pm 
Its was a downed pawn for me aswell
kippetje2000 Jul 23, 2021 @ 12:44pm 
I got another error when they resurect:
System.NullReferenceException: Object reference not set to an instance of an object at Immortals.Immortal_Component.RezPawn (Verse.Pawn pawn) [0x002da] in <d66a8ad7e7184c27b625ba916e4418f3>:0 at Immortals.Immortal_Component.GameComponentUpdate () [0x0018d] in <d66a8ad7e7184c27b625ba916e4418f3>:0 at Verse.GameComponentUtility.GameComponentUpdate () [0x00017] in <acc1a8abfe07492884c6f18dcdaa4807>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string) Verse.GameComponentUtility:GameComponentUpdate () (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game) Verse.Root_Play:Update ()
Goat-Tan Jul 23, 2021 @ 1:01pm 
After doing a little bit of testing, I have discovered that this beheading bug only seems to effect downed pawns with immortal (of any rank) You can still behead downed pawns without immortal. Dead pawns of any type (immortal or not) can still be beheaded.
Last edited by Goat-Tan; Jul 23, 2021 @ 1:02pm
Ryuk Aug 1, 2021 @ 11:18am 
Could you give us a rough time when you think you have some time to fix this bug? Absolutely love this mod but the bug it makes it unplayable.
fridgeBaron  [developer] Aug 1, 2021 @ 12:15pm 
I am terrible at making deadlines but I'll be working on the mod a bit tonight, so if its an easy fix that's probably something 24 hours from now.
wincentweynard Aug 2, 2021 @ 3:12am 
For me it was impossible to behead a downed immortal since 1.3
You have to kill him first, then you can absorb his power just fine.
fridgeBaron  [developer] Aug 2, 2021 @ 1:38pm 
Bug should be fixed on 1.3. Still exists on 1.2 as I have to update that seperatly
< >
Showing 1-12 of 12 comments
Per page: 1530 50