RimWorld

RimWorld

Equiums
BaconHer0 10 Jul, 2019 @ 12:14pm
Bug with Human Lavish Meal Thoughts
So I have an Equine prisoner and cooked a lavish meal from human meat. This error starts popping up shortly after:

Exception in Verse.AI.ThinkNode_PrioritySorter TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object at AlienRace.ThoughtSettings/<>c__DisplayClass10_0.<GetAteThought>b__0 (AlienRace.AteThought) <0x0002c> at System.Linq.Enumerable.First<AlienRace.AteThought> (System.Collections.Generic.IEnumerable`1<AlienRace.AteThought>,System.Func`2<AlienRace.AteThought, bool>,System.Linq.Enumerable/Fallback) <0x00099> at System.Linq.Enumerable.FirstOrDefault<AlienRace.AteThought> (System.Collections.Generic.IEnumerable`1<AlienRace.AteThought>,System.Func`2<AlienRace.AteThought, bool>) <0x0004e> at AlienRace.ThoughtSettings.GetAteThought (Verse.ThingDef,bool,bool) <0x000a8> at AlienRace.HarmonyPatches.ThoughtsFromIngestingPostfix (Verse.Pawn,Verse.Thing,System.Collections.Generic.List`1<RimWorld.ThoughtDef>&) <0x003bc> at (wrapper dynamic-method) RimWorld.FoodUtility.ThoughtsFromIngesting_Patch2 (Verse.Pawn,Verse.Thing,Verse.ThingDef) <0x0038e> at RimWorld.FoodUtility.FoodOptimality (Verse.Pawn,Verse.Thing,Verse.ThingDef,single,bool) <0x00238> at RimWorld.FoodUtility.SpawnedFoodSearchInnerScan (Verse.Pawn,Verse.IntVec3,System.Collections.Generic.List`1<Verse.Thing>,Verse.AI.PathEndMode,Verse.TraverseParms,single,System.Predicate`1<Verse.Thing>) <0x001b4> at RimWorld.FoodUtility.BestFoodSourceOnMap (Verse.Pawn,Verse.Pawn,bool,Verse.ThingDef&,RimWorld.FoodPreferability,bool,bool,bool,bool,bool,bool,bool,bool,bool) <0x0058c> at RimWorld.FoodUtility.TryFindBestFoodSourceFor (Verse.Pawn,Verse.Pawn,bool,Verse.Thing&,Verse.ThingDef&,bool,bool,bool,bool,bool,bool,bool) <0x002b8> at RimWorld.JobGiver_GetFood.TryGiveJob (Verse.Pawn) <0x001ed> at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) <0x00042> at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) <0x00510>

When I killed the Equine prisoner the error goes away.

Log file: https://gist.github.com/HugsLibRecordKeeper/84b79b3bfc3c98f8ba1b8078c416caf0
< >
Showing 1-1 of 1 comments
hauvega  [developer] 17 Aug, 2019 @ 10:34am 
Has this been happening lately?
< >
Showing 1-1 of 1 comments
Per page: 1530 50