RimWorld

RimWorld

lukasluki Dec 21, 2024 @ 10:56am
error code
Exception while executing PostLoad on SuperStrength: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: bool RimWorld.Pawn_GeneTracker.HasActiveGene(Verse.GeneDef)
[Ref 76211EAB]
at (wrapper managed-to-native) System.Reflection.Module.ResolveMethodToken(intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&)
at System.Reflection.MonoModule.ResolveMethod (System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) [0x00015] in <eae584ce26bc40229c1b1aa476bfa589>:0
at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction) [0x00431] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.MethodBodyReader.GenerateInstructions () [0x00022] in <abec11463bc04855a5322a0a868aeb22>:0
at <0x1452ed29150 + 0x00152> <unknown method>
at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x002e4] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00059] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x0002a] in <abec11463bc04855a5322a0a868aeb22>:0
at VFEAncients.PowerWorker_Strong.DoPatches (HarmonyLib.Harmony harm) [0x00060] in <6025b127769a4a6f8405f1913757033e>:0
at VFEAncients.PowerDef.PostLoad () [0x0003e] in <6025b127769a4a6f8405f1913757033e>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
[Ref 97AE0E94]
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.DirectXmlToObject.TryDoPostLoad (System.Object obj) [0x0001f] in <9720672e708d4eda9d2aacdc483a8d0e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.DirectXmlToObject:TryDoPostLoad (object)
Verse.DirectXmlToObject:ObjectFromXml<VFEAncients.PowerDef> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<VFEAncients.PowerDef> (System.Xml.XmlNode,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.DirectXmlLoader.DefFromNode_Patch1 (System.Xml.XmlNode,Verse.LoadableXmlAsset)
Verse.LoadedModManager:ParseAndProcessXML (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>,bool)
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
do yall know what mod is giving me this error
< >
Showing 1-3 of 3 comments
Triple G Dec 21, 2024 @ 12:43pm 
Originally posted by lukasluki:
do yall know what mod is giving me this error
Which mod which You use, is mentioned in the log? Also i´m unsure if it needs to be mentioned to cause an error, because it could probably only be one thing which a certain mod does - but which other mods would also do, or it would just write what led to the actual error which would come next, but isn´t in the log.

I personally don´t find these logs very helpful, as they say nothing for anybody who didn´t do the coding of the game, or the mods...

It´s perhaps the mod which does this:
Originally posted by lukasluki:
at <0x1452ed29150 + 0x00152> <unknown method>

But perhaps it´s not the mod which does this, but only the mod which add genes or does certain invocations. Perhaps its the same mod. Perhaps it´s a completely different mod.
lukasluki Dec 21, 2024 @ 8:42pm 
well the thing i already turned of the genetics mod i had , now i could try to remove some of the race mod i have
Triple G Dec 21, 2024 @ 10:22pm 
I mean it could also be that You now have errors, because You removed a mod mid game. This might work for some, but i´m unsure how it works for certain gene mods, when people already have these modded genes. Could be that they just disappear, or could be that they cause problems.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Dec 21, 2024 @ 10:56am
Posts: 3