RimWorld

RimWorld

Mod Manager
ROZNE GRY 24 Jan, 2023 @ 7:10am
Getting a few errors in the log
Error in Mod Manager, assembly name: 0ColourPicker, method: Dialog_ColourPicker:DrawButtons, exception: System.MissingMethodException: bool Verse.Widgets.ButtonText(UnityEngine.Rect,string,bool,bool,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)
at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction)
at HarmonyLib.MethodBodyReader.GenerateInstructions ()
at HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables)
at HarmonyLib.MethodCopier.GetInstructions (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method, System.Int32 maxTranspilers)
at HarmonyLib.PatchProcessor.GetCurrentInstructions (System.Reflection.MethodBase original, System.Int32 maxTranspilers, System.Reflection.Emit.ILGenerator generator)
at ModErrorChecker.AssemblyChecker.ParseMethod (System.Reflection.MethodInfo method)
Last edited by ROZNE GRY; 27 Jan, 2023 @ 5:31am
< >
Showing 1-5 of 5 comments
ROZNE GRY 24 Jan, 2023 @ 7:11am 
Error in Mod Manager, assembly name: FluffyUI, method: Widgets:BaseOption, 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)
at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction)
at HarmonyLib.MethodBodyReader.GenerateInstructions ()
at HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables)
at HarmonyLib.MethodCopier.GetInstructions (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method, System.Int32 maxTranspilers)
at HarmonyLib.PatchProcessor.GetCurrentInstructions (System.Reflection.MethodBase original, System.Int32 maxTranspilers, System.Reflection.Emit.ILGenerator generator)
at ModErrorChecker.AssemblyChecker.ParseMethod (System.Reflection.MethodInfo method)
ROZNE GRY 24 Jan, 2023 @ 7:12am 
Error in Mod Manager, assembly name: FluffyUI, method: Widgets:SliderOption, 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)
at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction)
at HarmonyLib.MethodBodyReader.GenerateInstructions ()
at HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables)
at HarmonyLib.MethodCopier.GetInstructions (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method, System.Int32 maxTranspilers)
at HarmonyLib.PatchProcessor.GetCurrentInstructions (System.Reflection.MethodBase original, System.Int32 maxTranspilers, System.Reflection.Emit.ILGenerator generator)
at ModErrorChecker.AssemblyChecker.ParseMethod (System.Reflection.MethodInfo method)
ROZNE GRY 27 Jan, 2023 @ 5:33am 
Got a lot of those for other mods as well:

Failed to parse dependency:
Rimatomics
. Inner exception: System.IO.InvalidDataException: Invalid packageId: 'Rimatomics' at ModManager.Dependency.TryParseIdentifier (System.String text, System.Xml.XmlNode node)
Originally posted by Arktur:
Got a lot of those for other mods as well:

Failed to parse dependency:
Rimatomics
. Inner exception: System.IO.InvalidDataException: Invalid packageId: 'Rimatomics' at ModManager.Dependency.TryParseIdentifier (System.String text, System.Xml.XmlNode node)


Not sure if i'm right seeing on how i have no knowledge mods and codes but it seems it or at least in my case mods are conflicting with DLC or base game, whether it be a mod add the same thing a that was just put in or a conflict caused by a mod updating incorrectly


Exception filling window for ModManager.Page_BetterModConfig: System.NotImplementedException: The method or operation is not implemented.
at ModManager.ModButton_Installed.DoModDetails (UnityEngine.Rect canvas) [0x0038c] in <2ca82dec63114fd79277fc14a069ebde>:0
at ModManager.Page_BetterModConfig.DoDetails (UnityEngine.Rect canvas) [0x0003a] in <2ca82dec63114fd79277fc14a069ebde>:0
at ModManager.Page_BetterModConfig.DoWindowContents (UnityEngine.Rect canvas) [0x00120] in <2ca82dec63114fd79277fc14a069ebde>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <617d4a4b3c1842ffb4eb3fd1337f915c>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Redeye 4 Feb, 2024 @ 2:41pm 
Originally posted by ROZNE GRY:
Error in Mod Manager, assembly name: 0ColourPicker, method: Dialog_ColourPicker:DrawButtons, exception: System.MissingMethodException: bool Verse.Widgets.ButtonText(UnityEngine.Rect,string,bool,bool,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)
at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction)
at HarmonyLib.MethodBodyReader.GenerateInstructions ()
at HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables)
at HarmonyLib.MethodCopier.GetInstructions (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method, System.Int32 maxTranspilers)
at HarmonyLib.PatchProcessor.GetCurrentInstructions (System.Reflection.MethodBase original, System.Int32 maxTranspilers, System.Reflection.Emit.ILGenerator generator)
at ModErrorChecker.AssemblyChecker.ParseMethod (System.Reflection.MethodInfo method)


Hey for this, ChatGPT offered some idea what could be wrong. I could dig deeper but its not my mod or my place to fix it. I am getting other errors and they all seem to relate to the version of Rimworld is newer than this mod. The Author needs to update his mod and test the import features.

----
Yes, the error mentioned in the post you provided seems related to Mod Manager. It indicates an issue with a method called Dialog_ColourPicker:DrawButtons within the assembly named 0ColourPicker. The error specifically points to a missing method Verse.Widgets.ButtonText which is expected to have a specific signature (bool UnityEngine.Rect,string,bool,bool,bool).

This kind of error typically occurs when there's a mismatch between the expected and actual method signatures, often due to changes in the game's code or in the mods being used. It suggests that there might be a compatibility issue between the Mod Manager and another mod or component of the game.

Given these errors and the lack of recent updates to the Mod Manager, it's possible that there are compatibility issues with newer versions of RimWorld or other mods being used alongside the Mod Manager. You may need to either seek an updated version of the Mod Manager or consider alternative mod management solutions.
< >
Showing 1-5 of 5 comments
Per page: 1530 50