Standing bug instead of automatically eating...

Started by Cainen, August 01, 2016, 11:47:57 AM

Previous topic - Next topic

Cainen

After a workshop update for one of the mods yesterday, no idea which one, pawns now stand around instead of eating when hungry(they can still be forced to eat manually) and the game throws an error in the output.log for every instance of it happening.

Mod list:
Core
Community Core Library
Miscellaneous 'CORE'
Misc. Robots
A Dog Said...
EdB Prepare Carefully
Glitter Tech
Practise Target v2.06
Hospitality
RT Fuse
LT-DoorMat
Vegetable Garden Tools
Feed The Colonists
ExtendedSurgery
Colony Manager
Vegetable Garden
Expanded Prosthetics and Organ Engineering

The error:
Hester threw exception while determining job (main): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at CommunityCoreLibrary.Detour._FoodUtility._ThoughtsFromIngesting (Verse.Pawn ingester, Verse.Thing t) [0x00000] in <filename unknown>:0
  at CommunityCoreLibrary.Detour._FoodUtility._FoodSourceOptimality (Verse.Pawn eater, Verse.Thing t, Single dist) [0x00000] in <filename unknown>:0
  at RimWorld.FoodUtility.SpawnedFoodSearchInnerScan (Verse.Pawn eater, IntVec3 root, System.Collections.Generic.List`1 searchSet, PathEndMode peMode, TraverseParms traverseParams, Single maxDistance, System.Predicate`1 validator) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at CommunityCoreLibrary.Detour._FoodUtility.SpawnedFoodSearchInnerScan (Verse.Pawn eater, IntVec3 root, System.Collections.Generic.List`1 searchSet, PathEndMode peMode, TraverseParms traverseParams, Single maxDistance, System.Predicate`1 validator) [0x00000] in <filename unknown>:0
  at CommunityCoreLibrary.Detour._FoodUtility._BestFoodSourceOnMap (Verse.Pawn getter, Verse.Pawn eater, Boolean desperate, FoodPreferability maxPref, Boolean allowPlant, Boolean allowLiquor, Boolean allowCorpse, Boolean allowDispenserFull, Boolean allowDispenserEmpty, Boolean allowForbidden) [0x00000] in <filename unknown>:0
  at RimWorld.FoodUtility.TryFindBestFoodSourceFor (Verse.Pawn getter, Verse.Pawn eater, Boolean desperate, Verse.Thing& foodSource, Verse.ThingDef& foodDef, Boolean canRefillDispenser, Boolean canUseInventory, Boolean allowForbidden, Boolean allowCorpse) [0x00000] in <filename unknown>:0
  at CommunityCoreLibrary.Detour._JobGiver_GetFood._TryGiveJob (RimWorld.JobGiver_GetFood obj, Verse.Pawn pawn) [0x00000] in <filename unknown>:0
  at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
  at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
  at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
  at RimWorld.ThinkNode_Conditional.TryIssueJobPackage (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
  at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
  at Verse.AI.Pawn_JobTracker.DetermineNextJob (Verse.ThinkTreeDef& thinkTree) [0x00000] in <filename unknown>:0  lastJobGiver=

milon

Check the forum threads for each mod you're using.  Make sure:
1) you're using the latest stable release for Alpha 14
2) there's no known bugs related to any of them

Please post your findings here.

1000101

I just noticed you have "Vegetable Garden Tools" and "Vegetable Garden".  You should have one or the other not both as per the mods main post.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Cainen

Found the problem - the update to Vegetable Garden broke stacks of tofu that existed from before the update.  Deleted them from the save and now it's working fine.

Screech

#4
I have the same errors and I have vegetable garden but the tools version. I do not have tofu but it might be related to other food created with this mod? I have ton of polenta meals. Could it be it?

Edit: Ok I deleted all the polenta and the grilled polenta from my game and it fixed the issue. Had to drop the meals from all the pawns inventory.