RimWorld

RimWorld

Variety Matters Improved
Bug with this and PawnMorpher...
Not 100% sure as I'm no debugger, but it maaaaaybe looks it's it's possible that this clashes with former humans from PawnMorpher, and makes them go into an endless loop of fetching and attempting to eat meals, which only disappear and don't provide any nourishment. Just started using this mod a few days ago so it seems this is the only new change. Here's the error message I was getting. if you can verify it's not the cause, I'll remove this message. ;)

Guessing that it's because the game (or the mod anyways) classifies him as an animal, but he has the thoughts and 'expectations' of a standard pawn.

JobDriver threw exception in initAction for pawn Brago driver=JobDriver_Ingest (toilIndex=9) driver.job=(Ingest (Job_696842) A=Thing_MealSimple380227 B=(28, 0, 122))
System.NullReferenceException: Object reference not set to an instance of an object
at VarietyMatters.VarietyExpectation.ApplyAdjustments (Verse.Pawn ingester) [0x00017] in <c2521c002e7942f2802a1040159a3aac>:0
at VarietyMatters.VarietyExpectation.GetVarietyExpectation (Verse.Pawn ingester) [0x0000c] in <c2521c002e7942f2802a1040159a3aac>:0
at VarietyMatters.Pawn_VarietyTracker.TrackRecentlyConsumed (VarietyMatters.Pawn_VarietyTracker& pawnRecord, Verse.Pawn ingester, Verse.Thing foodSource) [0x00042] in <c2521c002e7942f2802a1040159a3aac>:0
at VarietyMatters.VarietyRecord.UpdateVarietyRecord (Verse.Pawn trackedPawn, Verse.Thing foodSource) [0x00030] in <c2521c002e7942f2802a1040159a3aac>:0
at VarietyMatters.CompVariety.PostIngested (Verse.Pawn ingester) [0x00022] in <c2521c002e7942f2802a1040159a3aac>:0
at Verse.ThingWithComps.PostIngested (Verse.Pawn ingester) [0x0001f] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) Verse.Thing.Verse.Thing.Ingested_Patch1(Verse.Thing,Verse.Pawn,single)
at RimWorld.Toils_Ingest+<>c__DisplayClass12_0.<FinalizeIngest>b__0 () [0x0016e] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001df] in <d72310b4d8f64d25aee502792b58549f>:0
Verse.Log:Warning(String, Boolean)
Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch0(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch1(JobDriver)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Verse.Pawn.Tick_Patch4(Pawn)
Verse.TickList:Tick()
Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1(TickManager)
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Verse.Root_Play.Update_Patch1(Root_Play)
< >
Showing 1-5 of 5 comments
Cozar  [developer] 26 Jan, 2021 @ 11:46pm 
Are you still having this issue after the most recent update?
ꌗꉣ꒒ꂦ꓄ 27 Jan, 2021 @ 12:00am 
Looks like nothing's changed. Error looks pretty much the same at a glance.

JobDriver threw exception in initAction for pawn Jouanson driver=JobDriver_Ingest (toilIndex=9) driver.job=(Ingest (Job_2306) A=Thing_MealFine43935)
System.NullReferenceException: Object reference not set to an instance of an object
at VarietyMatters.VarietyExpectation.ApplyAdjustments (Verse.Pawn ingester, System.Single baseExpectation) [0x00017] in <4eb1f325ab814b508067449ad3958fcd>:0
at VarietyMatters.VarietyExpectation.GetVarietyExpectation (Verse.Pawn ingester) [0x00008] in <4eb1f325ab814b508067449ad3958fcd>:0
at VarietyMatters.Pawn_VarietyTracker.TrackRecentlyConsumed (VarietyMatters.Pawn_VarietyTracker& pawnRecord, Verse.Pawn ingester, Verse.Thing foodSource) [0x00042] in <4eb1f325ab814b508067449ad3958fcd>:0
at VarietyMatters.VarietyRecord.UpdateVarietyRecord (Verse.Pawn trackedPawn, Verse.Thing foodSource) [0x00030] in <4eb1f325ab814b508067449ad3958fcd>:0
at VarietyMatters.CompVariety.PostIngested (Verse.Pawn ingester) [0x00022] in <4eb1f325ab814b508067449ad3958fcd>:0
at Verse.ThingWithComps.PostIngested (Verse.Pawn ingester) [0x0001f] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) Verse.Thing.Verse.Thing.Ingested_Patch1(Verse.Thing,Verse.Pawn,single)
at RimWorld.Toils_Ingest+<>c__DisplayClass12_0.<FinalizeIngest>b__0 () [0x0016e] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001df] in <d72310b4d8f64d25aee502792b58549f>:0
Verse.Log:Warning(String, Boolean)
Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch0(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch1(JobDriver)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Verse.Pawn.Tick_Patch4(Pawn)
Verse.TickList:Tick()
Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1(TickManager)
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Verse.Root_Play.Update_Patch1(Root_Play)

Last edited by ꌗꉣ꒒ꂦ꓄; 27 Jan, 2021 @ 12:11am
Streamline 28 Jan, 2021 @ 4:54pm 
I can confirm that this is still an issue.
neontech1 27 Feb, 2021 @ 1:51pm 
Same issue here too
Originally posted by Cozar:
Are you still having this issue after the most recent update?
please tell me how to solve this problem
< >
Showing 1-5 of 5 comments
Per page: 1530 50