Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error (red) when load with core mod #177

Open
ThanhNguyenMinh0Daz opened this issue Dec 16, 2023 · 0 comments
Open

Error (red) when load with core mod #177

ThanhNguyenMinh0Daz opened this issue Dec 16, 2023 · 0 comments
Labels
bug Something isn't working unverified

Comments

@ThanhNguyenMinh0Daz
Copy link

Describe the bug
3 red error on boot up
Throw continuous red error when selecting Core/Royalty/Ideology/Biotech

Expected behavior
No red error

Mod List
Prepatcher 1.0.0.0
Harmony 1.5.0.0
Core, Royalty, Ideology, Biotech
Huglibs 1.2.0.1
ModErrorChecker 1.0.0.0
ModManager 3.8.10.38

Output log
On Boot:
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) [0x00015] in :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 :0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
ModErrorChecker.AssemblyChecker:ParseMethod (System.Reflection.MethodInfo)
ModErrorChecker.AssemblyChecker:CheckAssemblies ()
ModErrorChecker.AssemblyChecker:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c: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 ()

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) [0x00015] in :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 :0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
ModErrorChecker.AssemblyChecker:ParseMethod (System.Reflection.MethodInfo)
ModErrorChecker.AssemblyChecker:CheckAssemblies ()
ModErrorChecker.AssemblyChecker:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c: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 ()

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) [0x00015] in :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 :0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
ModErrorChecker.AssemblyChecker:ParseMethod (System.Reflection.MethodInfo)
ModErrorChecker.AssemblyChecker:CheckAssemblies ()
ModErrorChecker.AssemblyChecker:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c: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 ()

For selecting Core:
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 <446267b72ea8432286db63aecc70cf59>: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)

@ThanhNguyenMinh0Daz ThanhNguyenMinh0Daz added bug Something isn't working unverified labels Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

1 participant