RimWorld

RimWorld

Medicines+
jetblade545 30 Jul, 2023 @ 4:01pm
I'm getting an error.
I'm getting an error when Harmony is enabled

Error in Medicines+ 1.4, assembly name: AT_MedicinesPlus, method: Hediff_HypnotolAddiction:PostRemoved, exception: System.MissingMethodException: bool Verse.AI.MentalStateHandler.TryStartMentalState(Verse.MentalStateDef,string,bool,bool,Verse.Pawn,bool)
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) [0x0040b] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.MethodBodyReader.GenerateInstructions () [0x00022] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables) [0x00038] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.MethodCopier.GetInstructions (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method, System.Int32 maxTranspilers) [0x0002b] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.PatchProcessor.GetOriginalInstructions (System.Reflection.MethodBase original, System.Reflection.Emit.ILGenerator generator) [0x0000b] in <255414689d344b1385ae719f6cce8c55>:0
at ModErrorChecker.ModErrorChecker.CheckAssemblies () [0x000af] in <142f2b780c0445b2b0e97e9995c54dd1>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
ModErrorChecker.ModErrorChecker/<StartChecks>d__1:MoveNext ()
System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (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.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run ()
System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation/<>c:<.cctor>b__7_0 (object)
UnityEngine.UnitySynchronizationContext/WorkRequest:Invoke ()
UnityEngine.UnitySynchronizationContext:Exec ()
UnityEngine.UnitySynchronizationContext:ExecuteTasks ()
< >
Showing 1-2 of 2 comments
i have the same problem, no idea if it effects anything though.
Jegoke 8 Aug, 2024 @ 5:51pm 
just ignore it
< >
Showing 1-2 of 2 comments
Per page: 1530 50