RimWorld

RimWorld

Immortals
kippetje2000 20. juli 2021 kl. 15:59
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 ()
< >
Viser 1-12 af 12 kommentarer
Arkitekt 21. juli 2021 kl. 14:11 
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  [udvikler] 21. juli 2021 kl. 20:14 
were they dead or just downed? hopefully I can get this all sorted out tomorrow
Arkitekt 21. juli 2021 kl. 21:23 
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 21. juli 2021 kl. 21:24 
During that initial test, I beheaded just immortals, so give me a second to test this on someone who is immortal.
Arkitekt 21. juli 2021 kl. 21:27 
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 23. juli 2021 kl. 12:38 
Its was a downed pawn for me aswell
kippetje2000 23. juli 2021 kl. 12:44 
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 23. juli 2021 kl. 13:01 
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.
Sidst redigeret af Goat-Tan; 23. juli 2021 kl. 13:02
Ryuk 1. aug. 2021 kl. 11:18 
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  [udvikler] 1. aug. 2021 kl. 12:15 
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 2. aug. 2021 kl. 3:12 
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  [udvikler] 2. aug. 2021 kl. 13:38 
Bug should be fixed on 1.3. Still exists on 1.2 as I have to update that seperatly
< >
Viser 1-12 af 12 kommentarer
Per side: 1530 50