RimWorld

RimWorld

Rimefeller
NullReferenceException when cleaning spill.
My only guess how to replicate is start game with a bunch of mods + RImfeller set up oil wells, oil cracker and then wait for a spill and try to clean it.

Exception in JobDriver tick for pawn Hanna driver=JobDriver_CleanOil (toilIndex=2) System.NullReferenceException: Object reference not set to an instance of an object. at Verse.AI.JobDriver.get_TargetLocA () [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0 at Rimefeller.JobDriver_CleanOil+<>c__DisplayClass4_0.<MakeNewToils>b__0 () [0x000b1] in <ad80e8f0f37446b18715944af8f948ef>:0 at (wrapper dynamic-method) Verse.AI.JobDriver.Verse.AI.JobDriver.DriverTick_Patch0(Verse.AI.JobDriver) UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver) (wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver) Verse.AI.Pawn_JobTracker:JobTrackerTick () Verse.Pawn:Tick () Verse.TickList:Tick () (wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager) Verse.TickManager:TickManagerUpdate () Verse.Game:UpdatePlay () (wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

This comes up after the colonist has cleaned the spill. For every spill.
Any help appreciated.
Viimeisin muokkaaja on Swedu; 14.6.2022 klo 10.49
< >
Näytetään 1-5 / 5 kommentista
Dubwise  [kehittäjä] 13.7.2022 klo 5.26 
you have harmony patches on the job functions like DriverTick_Patch0, since its modified i can't really help you other than suggest removing the mod that patches that function
SwedishFreaK lähetti viestin:
My only guess how to replicate is start game with a bunch of mods + RImfeller set up oil wells, oil cracker and then wait for a spill and try to clean it.

Exception in JobDriver tick for pawn Hanna driver=JobDriver_CleanOil (toilIndex=2) System.NullReferenceException: Object reference not set to an ins

This comes up after the colonist has cleaned the spill. For every spill.
Any help appreciated.
Did you work out what mod was causing this? Noticed the same error when my Mechanoids try to clean up an oil spill
Swedu 22.11.2022 klo 14.45 
Arcimbaldo lähetti viestin:
SwedishFreaK lähetti viestin:
My only guess how to replicate is start game with a bunch of mods + RImfeller set up oil wells, oil cracker and then wait for a spill and try to clean it.

Exception in JobDriver tick for pawn Hanna driver=JobDriver_CleanOil (toilIndex=2) System.NullReferenceException: Object reference not set to an ins

This comes up after the colonist has cleaned the spill. For every spill.
Any help appreciated.
Did you work out what mod was causing this? Noticed the same error when my Mechanoids try to clean up an oil spill

I believe it was Rimfeller, andit stopped happening after I verified game files. *shrugs*
Just for anyone still facing this like me, not sure what is causing it, but I know how to avoid as well as fix it.


To avoid:
Whenever there is Oil spill, don't IMMEDIATELY go for cleaning. Wait for Oil Slick to spawn on the ground and only THEN order pawn to clean it.

How to fix is:
So, you went ahead and cleaned it quick and got the bug. Now what?
Well, you have to enable Dev mode, go to "Spawn Things" and search for "Flith_OilSlick" and spawn that on the ground where you have the problem.
Now, just let your pawn clean it normally and it should be gone.
@byadge menshinkai you are true savior! ^^
< >
Näytetään 1-5 / 5 kommentista
Sivua kohden: 1530 50