边缘世界 RimWorld

边缘世界 RimWorld

Variety Matters Improved
ꌗꉣ꒒ꂦ꓄ 2021 年 1 月 11 日 下午 11:15
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)
< >
正在显示第 1 - 5 条,共 5 条留言
Cozar  [开发者] 2021 年 1 月 26 日 下午 11:46 
Are you still having this issue after the most recent update?
ꌗꉣ꒒ꂦ꓄ 2021 年 1 月 27 日 上午 12:00 
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)

最后由 ꌗꉣ꒒ꂦ꓄ 编辑于; 2021 年 1 月 27 日 上午 12:11
Streamline 2021 年 1 月 28 日 下午 4:54 
I can confirm that this is still an issue.
neontech1 2021 年 2 月 27 日 下午 1:51 
Same issue here too
引用自 Cozar
Are you still having this issue after the most recent update?
please tell me how to solve this problem
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50