RimWorld

RimWorld

Replimat
This topic has been locked
Computica 1 Nov, 2021 @ 12:12pm
I have a mod conflict and am trying to figure which mod.
Replimat works fine but something in my load order is causing pawns to not eat at all while the terminal is on field. I'm getting this error in my log:
Exception in Verse.AI.ThinkNode_PrioritySorter TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object at Replimat.ReplimatUtility+<>c__DisplayClass6_0.<PickMeal>b__0 (Verse.ThingDef x) [0x00013] in <ea2a9e4c571149239c1d0ddc92fad3dc>:0 at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].ToList () [0x0001b] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Replimat.ReplimatUtility.PickMeal (Verse.Pawn eater, Verse.Pawn getter) [0x00050] in <ea2a9e4c571149239c1d0ddc92fad3dc>:0 at Replimat.Patches.Harmony_FoodUtility_GetFinalIngestibleDef.Prefix (Verse.Thing& foodSource, Verse.ThingDef& __result) [0x00010] in <ea2a9e4c571149239c1d0ddc92fad3dc>:0 at (wrapper dynamic-method) RimWorld.FoodUtility.RimWorld.FoodUtility.GetFinalIngestibleDef_Patch2(Verse.Thing,bool) at (wrapper dynamic-method) RimWorld.FoodUtility.RimWorld.FoodUtility.SpawnedFoodSearchInnerScan_Patch2(Verse.Pawn,Verse.IntVec3,System.Collections.Generic.List`1<Verse.Thing>,Verse.AI.PathEndMode,Verse.TraverseParms,single,System.Predicate`1<Verse.Thing>) at (wrapper dynamic-method) RimWorld.FoodUtility.RimWorld.FoodUtility.BestFoodSourceOnMap_Patch8(Verse.Pawn,Verse.Pawn,bool,Verse.ThingDef&,RimWorld.FoodPreferability,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,RimWorld.FoodPreferability,System.Nullable`1<single>) at RimWorld.FoodUtility.TryFindBestFoodSourceFor_NewTemp (Verse.Pawn getter, Verse.Pawn eater, System.Boolean desperate, Verse.Thing& foodSource, Verse.ThingDef& foodDef, System.Boolean canRefillDispenser, System.Boolean canUseInventory, System.Boolean canUsePackAnimalInventory, System.Boolean allowForbidden, System.Boolean allowCorpse, System.Boolean allowSociallyImproper, System.Boolean allowHarvest, System.Boolean forceScanWholeMap, System.Boolean ignoreReservations, System.Boolean calculateWantedStackCount, RimWorld.FoodPreferability minPrefOverride) [0x000ff] in <e13bd2f1929544099ed2b58e66ece833>:0 at (wrapper dynamic-method) RimWorld.JobGiver_GetFood.RimWorld.JobGiver_GetFood.TryGiveJob_Patch3(RimWorld.JobGiver_GetFood,Verse.Pawn) at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <e13bd2f1929544099ed2b58e66ece833>:0 at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000fb] in <e13bd2f1929544099ed2b58e66ece833>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Subtree:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) (wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch4 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&) Verse.AI.Pawn_JobTracker:CheckForJobOverride () RimWorld.Toils_LayDown/<>c__DisplayClass3_0:<LayDown>b__1 () (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_Patch2 (Verse.Pawn) (wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch2 (Verse.TickList) (wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch7 (Verse.TickManager) Verse.TickManager:TickManagerUpdate () (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game) Verse.Root_Play:Update ()
Last edited by Computica; 1 Nov, 2021 @ 12:13pm
< >
Showing 1-5 of 5 comments
Computica 4 Nov, 2021 @ 3:37pm 
The mod conflict is Different Egg Sizes
sumghai  [developer] 4 Nov, 2021 @ 7:46pm 
I'm not sure how Different Egg Sizes is breaking Replimat's patches for the base game's food source quality preference patches. You'll have to ask that mod's author.
Computica 5 Nov, 2021 @ 7:33pm 
Yeah I'm not sure either; but I definitely let him know. You should list it as a mod conflict for now.
sumghai  [developer] 5 Nov, 2021 @ 7:48pm 
Originally posted by Computica:
Yeah I'm not sure either; but I definitely let him know. You should list it as a mod conflict for now.
I'd wait until mile has exhausted all options to fix that mod, before formally declaring a compatibility issue.
sumghai  [developer] 19 Nov, 2021 @ 8:18pm 
Closing this discussion as mlie indicated in his Discord that he could not reproduce the bug themselves.
< >
Showing 1-5 of 5 comments
Per page: 1530 50