RimWorld

RimWorld

Smarter Deconstruction and Mining
BattleGrown 31 Oct, 2022 @ 9:47am
3 errors on launch (1.4)
1st error:
Error in Smarter Deconstruction and Mining, assembly name: 1ModBase, method: CustomDefDrawer:Render, exception: System.MissingMethodException: UnityEngine.Rect Verse.Listing.GetRect(single)
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.GetCurrentInstructions (System.Reflection.MethodBase original, System.Int32 maxTranspilers, System.Reflection.Emit.ILGenerator generator) [0x0000b] in <255414689d344b1385ae719f6cce8c55>:0
at ModErrorChecker.AssemblyChecker.ParseMethod (System.Reflection.MethodInfo method) [0x00000] in <e69c392a10ed4370ab5a233fb1caa69e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
ModErrorChecker.AssemblyChecker:ParseMethod (System.Reflection.MethodInfo)
ModErrorChecker.AssemblyChecker:CheckAssemblies ()
ModErrorChecker.AssemblyChecker:.cctor ()
(wrapper dynamic-method) System.Runtime.CompilerServices.RuntimeHelpers:System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor_Patch1 (System.RuntimeTypeHandle)
(wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch3 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_5 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()

2nd error:
Error in Smarter Deconstruction and Mining, assembly name: 1ModBase, method: SettingsRenderer:RenderInternal, exception: System.MissingMethodException: UnityEngine.Rect Verse.Listing.GetRect(single)
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.GetCurrentInstructions (System.Reflection.MethodBase original, System.Int32 maxTranspilers, System.Reflection.Emit.ILGenerator generator) [0x0000b] in <255414689d344b1385ae719f6cce8c55>:0
at ModErrorChecker.AssemblyChecker.ParseMethod (System.Reflection.MethodInfo method) [0x00000] in <e69c392a10ed4370ab5a233fb1caa69e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
ModErrorChecker.AssemblyChecker:ParseMethod (System.Reflection.MethodInfo)
ModErrorChecker.AssemblyChecker:CheckAssemblies ()
ModErrorChecker.AssemblyChecker:.cctor ()
(wrapper dynamic-method) System.Runtime.CompilerServices.RuntimeHelpers:System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor_Patch1 (System.RuntimeTypeHandle)
(wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch3 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_5 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()

3rd error:
Error in Smarter Deconstruction and Mining, assembly name: 1ModBase, method: SettingsRenderer:RenderValue, exception: System.MissingMethodException: bool Verse.Listing_Standard.ButtonTextLabeled(string,string)
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.GetCurrentInstructions (System.Reflection.MethodBase original, System.Int32 maxTranspilers, System.Reflection.Emit.ILGenerator generator) [0x0000b] in <255414689d344b1385ae719f6cce8c55>:0
at ModErrorChecker.AssemblyChecker.ParseMethod (System.Reflection.MethodInfo method) [0x00000] in <e69c392a10ed4370ab5a233fb1caa69e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
ModErrorChecker.AssemblyChecker:ParseMethod (System.Reflection.MethodInfo)
ModErrorChecker.AssemblyChecker:CheckAssemblies ()
ModErrorChecker.AssemblyChecker:.cctor ()
(wrapper dynamic-method) System.Runtime.CompilerServices.RuntimeHelpers:System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor_Patch1 (System.RuntimeTypeHandle)
(wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch3 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_5 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()

Please let me know if you need additional details
< >
Showing 1-4 of 4 comments
Inglix 31 Oct, 2022 @ 10:40am 
Was just coming here to post about the same thing. To be clear, these errors only show up when you also have Taranchuk's "Mod Error Checker" installed.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2877266511
nchorbajian 31 Oct, 2022 @ 11:52pm 
I think if ModBase is removed from the 1.4 folder, it should be good since I don't think 1.4 source uses it.
Last edited by nchorbajian; 1 Nov, 2022 @ 12:18am
BattleGrown 1 Nov, 2022 @ 4:23am 
What is ModBase and what is the 1.4 folder? I wanna try
nchorbajian 1 Nov, 2022 @ 8:13am 
1Modbase.dll is a dll in the 1.4/assemblies folder in this mod. Just remove it.
< >
Showing 1-4 of 4 comments
Per page: 1530 50