Closed MikroPik closed 4 years ago
I cleared my modlist from more and more mods and I ended up with nothing left...
This is the only error that kept coming back
Final load order is Harmony Core Royality Humanoid alien races 2.0 Hugslib Pawnmorpher Bug finder
Error in static constructor of Pawnmorph.PawnmorpherModInit: System.TypeInitializationException: The type initializer for 'Pawnmorph.PawnmorpherModInit' threw an exception. ---> Pawnmorph.ModInitializationException: while initializing Pawnmorpher caught exception MissingFieldException ---> System.MissingFieldException: Field 'AlienRace.AteThought.thought' not found.
at Pawnmorph.Hybrids.RaceGenerator.GenerateHybridAlienSettings (AlienRace.ThingDef_AlienRace+AlienSettings human, Pawnmorph.MorphDef morph, AlienRace.ThingDef_AlienRace impliedRace) [0x00044] in <10014993282b4c4892524daecfebd909>:0
at Pawnmorph.Hybrids.RaceGenerator.GenerateImplicitRace (AlienRace.ThingDef_AlienRace humanDef, Pawnmorph.MorphDef morph) [0x0029f] in <10014993282b4c4892524daecfebd909>:0
at Pawnmorph.Hybrids.RaceGenerator+1[T]..ctor (System.Collections.Generic.IEnumerable
1[T] collection) [0x00077] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Pawnmorph.Hybrids.RaceGenerator.get_ImplicitRaces () [0x0000e] in <10014993282b4c4892524daecfebd909>:0
at Pawnmorph.PawnmorpherModInit.GenerateImplicitRaces () [0x00009] in <10014993282b4c4892524daecfebd909>:0
at Pawnmorph.PawnmorpherModInit..cctor () [0x00023] in <10014993282b4c4892524daecfebd909>:0
--- End of inner exception stack trace ---
at Pawnmorph.PawnmorpherModInit..cctor () [0x00083] in <10014993282b4c4892524daecfebd909>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <567df3e0919241ba98db88bec4c6696f>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x0001a] in
Remember to double check for core mod updates
hello I know this has been a long time but I had the same problem trying to use this recent mod did you manage to solve it?
Before you start reading this wall of bug logs take a look at the update in comments
Describe the bug I don't understand what is happening but my pawns are unable to consume food. I expect this bug to be my mistake with mod load order but I don't know how to fix it.
To Reproduce Steps to reproduce the behavior: I guess load my mod list and see something that I missed? I just started new save with new modlist and I observed this bug immidietly so it should be simple to recreate, just make a new save and it should happen. two first bug logs pop up at game load and the third one is from forcing my pawn to eat food(they don't even try to eat)
Error Log [Pawnmorpher] Patch operation Verse.PatchOperationSequence(count=1, lastFailedOperation=Verse.PatchOperationConditional(Defs/BodyDef[defName="Human"]/corePart/parts/li/def[text()="Tail"])) failed file: F:\Users\Szymon\Desktop\RimWorld.v1.2.2753\Mods\1786466855_pawnmorpher\Patches\Core\Core_HumanTailAdder.xml Verse.Log:Error(String, Boolean) Verse.PatchOperation:Complete(String) Verse.PatchOperationSequence:Complete(String) Verse.LoadedModManager:ClearCachedPatches() Verse.LoadedModManager:LoadAllActiveMods() Verse.PlayDataLoader:DoPlayLoad() Verse.PlayDataLoader:LoadAllPlayData(Boolean) Verse.<>c:b__6_1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()
Error in static constructor of Pawnmorph.PawnmorpherModInit: System.TypeInitializationException: The type initializer for 'Pawnmorph.PawnmorpherModInit' threw an exception. ---> Pawnmorph.ModInitializationException: while initializing Pawnmorpher caught exception MissingFieldException ---> System.MissingFieldException: Field 'AlienRace.AteThought.thought' not found. at Pawnmorph.Hybrids.RaceGenerator.GenerateHybridAlienSettings (AlienRace.ThingDef_AlienRace+AlienSettings human, Pawnmorph.MorphDef morph, AlienRace.ThingDef_AlienRace impliedRace) [0x00044] in <10014993282b4c4892524daecfebd909>:0 at Pawnmorph.Hybrids.RaceGenerator.GenerateImplicitRace (AlienRace.ThingDef_AlienRace humanDef, Pawnmorph.MorphDef morph) [0x0029f] in <10014993282b4c4892524daecfebd909>:0 at Pawnmorph.Hybrids.RaceGenerator+d__14.MoveNext () [0x000c3] in <10014993282b4c4892524daecfebd909>:0
at System.Collections.Generic.List:0
Verse.Log:Error(String, Boolean)
Verse.StaticConstructorOnStartupUtility:CallAll()
Verse.<>c:b__4_2()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Verse.Root.Update_Patch1(Root)
Verse.Root_Entry:Update()
1[T]..ctor (System.Collections.Generic.IEnumerable
1[T] collection) [0x00077] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Pawnmorph.Hybrids.RaceGenerator.get_ImplicitRaces () [0x0000e] in <10014993282b4c4892524daecfebd909>:0 at Pawnmorph.PawnmorpherModInit.GenerateImplicitRaces () [0x00009] in <10014993282b4c4892524daecfebd909>:0 at Pawnmorph.PawnmorpherModInit..cctor () [0x00023] in <10014993282b4c4892524daecfebd909>:0 --- End of inner exception stack trace --- at Pawnmorph.PawnmorpherModInit..cctor () [0x00083] in <10014993282b4c4892524daecfebd909>:0 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr) at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <567df3e0919241ba98db88bec4c6696f>:0 at Verse.StaticConstructorOnStartupUtility.CallAll () [0x0001a] inException in Verse.AI.ThinkNode_PrioritySorter TryIssueJobPackage: System.MissingFieldException: Field 'AlienRace.AteThought.thought' not found. at Pawnmorph.PawnmorphPatches.ThoughtsFromIngestingPostfix (Verse.Pawn ingester, Verse.Thing foodSource, System.Collections.Generic.List:0
at (wrapper dynamic-method) RimWorld.FoodUtility.RimWorld.FoodUtility.BestFoodSourceOnMap_Patch2(Verse.Pawn,Verse.Pawn,bool,Verse.ThingDef&,RimWorld.FoodPreferability,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,RimWorld.FoodPreferability)
at RimWorld.FoodUtility.TryFindBestFoodSourceFor (Verse.Pawn getter, Verse.Pawn eater, System.Boolean desperate, Verse.Thing& foodSource, Verse.ThingDef& foodDef, System.Boolean canRefillDispenser, System.Boolean canUseInventory, System.Boolean allowForbidden, System.Boolean allowCorpse, System.Boolean allowSociallyImproper, System.Boolean allowHarvest, System.Boolean forceScanWholeMap, System.Boolean ignoreReservations, RimWorld.FoodPreferability minPrefOverride) [0x000a5] in :0
at RimWorld.JobGiver_GetFood.TryGiveJob (Verse.Pawn pawn) [0x0008d] in :0
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in :0
at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000fc] in :0
Verse.Log:Error(String, Boolean)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob(ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch0(Pawn_JobTracker, JobCondition, Boolean, Boolean)
Verse.AI.JobDriver:EndJobWith(JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail()
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:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Verse.Root_Play.Update_Patch1(Root_Play)
1[RimWorld.ThoughtDef]& __result) [0x00001] in <10014993282b4c4892524daecfebd909>:0 at (wrapper dynamic-method) RimWorld.FoodUtility.RimWorld.FoodUtility.ThoughtsFromIngesting_Patch2(Verse.Pawn,Verse.Thing,Verse.ThingDef) at RimWorld.FoodUtility.FoodOptimality (Verse.Pawn eater, Verse.Thing foodSource, Verse.ThingDef foodDef, System.Single dist, System.Boolean takingToInventory) [0x000a0] in <d72310b4d8f64d25aee502792b58549f>:0 at RimWorld.FoodUtility.SpawnedFoodSearchInnerScan (Verse.Pawn eater, Verse.IntVec3 root, System.Collections.Generic.List
1[T] searchSet, Verse.AI.PathEndMode peMode, Verse.TraverseParms traverseParams, System.Single maxDistance, System.Predicate`1[T] validator) [0x00066] inExpected behavior I guess I expected they will eat food?
Screenshots If applicable, add screenshots to help explain your problem.
Additional context `<?xml version="1.0" encoding="utf-8"?>