RimWorld

RimWorld

Forgelings race
Toto téma bylo uzamčeno
Bugs for Forglings
Related to the "Pawns won't eat" and general "food" related errors, here is what I've found as far as cause of the pawns not eating:

Exception in Verse.AI.ThinkNode_PrioritySorter TryIssueJobPackage: System.TypeInitializationException: The type initializer for 'Forgelings.Utils' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at Forgelings.Utils..cctor () [0x00094] in <9c305730f93f4a6a87ebfb2781017e33>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at Forgelings.WillEat_Patch1.Postfix (System.Boolean& __result, Verse.Pawn p, Verse.Thing food, Verse.Pawn getter, System.Boolean careIfNotAcceptableForTitle) [0x0000d] in <9c305730f93f4a6a87ebfb2781017e33>:0
at (wrapper dynamic-method) RimWorld.FoodUtility.RimWorld.FoodUtility.WillEat_Patch1(Verse.Pawn,Verse.Thing,Verse.Pawn,bool)
at (wrapper dynamic-method) RimWorld.FoodUtility+<>c__DisplayClass12_0.RimWorld.FoodUtility+c__DisplayClass12_0.<BestFoodSourceOnMap>b__0_Patch0(RimWorld.FoodUtility/<>c__DisplayClass12_0,Verse.Thing)
at O21Toolbox.HarmonyPatches.Patches.Harmony_CustomDispenser+Patch_SpawnedFoodSearchInnerScan+<>c__DisplayClass0_0.<Prefix>b__0 (Verse.Thing x) [0x0000a] in <dda0d0b2a4f942ca937e62e6717f78a0>:0
at (wrapper dynamic-method) RimWorld.FoodUtility.RimWorld.FoodUtility.SpawnedFoodSearchInnerScan_Patch1(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_Patch5(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 (wrapper dynamic-method) RimWorld.FoodUtility.RimWorld.FoodUtility.TryFindBestFoodSourceFor_Patch4(Verse.Pawn,Verse.Pawn,bool,Verse.Thing&,Verse.ThingDef&,bool,bool,bool,bool,bool,bool,bool,bool,bool,RimWorld.FoodPreferability)
at (wrapper dynamic-method) RimWorld.JobGiver_GetFood.RimWorld.JobGiver_GetFood.TryGiveJob_Patch4(RimWorld.JobGiver_GetFood,Verse.Pawn)
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000fb] in <b64badbf3c3d41018b3ca5d3e8c77771>:0

And this was labeled as the initiator of the errors:

FoodUtility.WillEat: post: Forgelings.WillEat_Patch2.Postfix
FoodUtility.WillEat: post: Forgelings.WillEat_Patch1.Postfix
< >
Zobrazuje se 12 z 2 komentářů
Ogam  [vývojář] 2. říj. 2021 v 20.13 
Will invistigate about it tomorrow
Ogam  [vývojář] 3. říj. 2021 v 9.44 
Shoud be fixed now
< >
Zobrazuje se 12 z 2 komentářů
Na stránku: 1530 50