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

5.4.2 - Crash Loading - Main.Load TargetInvocationExcpetion #204

Open
anialimogia opened this issue Aug 14, 2024 · 0 comments
Open

5.4.2 - Crash Loading - Main.Load TargetInvocationExcpetion #204

anialimogia opened this issue Aug 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@anialimogia
Copy link

anialimogia commented Aug 14, 2024

To Reproduce
Steps to reproduce the behavior:

  1. Launch wotr with
    Mods actived :
  • ToyBox (1.5.34)
  • Tabletop Tweaks Core (0.7.6)
  • UnityManager (0.28.2)
  1. On menu, activate Isekai Mod
    => Error in Tabs Logs

Or
Launch wotr with
Mods actived :

  • ToyBox (1.5.34)
  • IsekaiMod (5.4.2)
  • Tabletop Tweaks Core (0.7.6)
  • UnityManager (0.28.2)
    => Game crashed @ 50~60%.

here log exception :

[IsekaiMod] PostPatchInitializer: IsekaiMod, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
[IsekaiMod] [Error] Error trying to call 'IsekaiMod.Main.Load'.
[IsekaiMod] [Exception] TargetInvocationException - Exception has been thrown by the target of an invocation.
**System.Reflection.TargetInvocationException**: Exception has been thrown by the target of an invocation. ---> **System.TypeLoadException: VTable setup of type IsekaiMod.Components.ExtraSummonCount failed**
  at (wrapper managed-to-native) System.RuntimeType.GetMethodsByName_native(System.RuntimeType,intptr,System.Reflection.BindingFlags,bool)
  at System.RuntimeType.GetMethodsByName (System.String name, System.Reflection.BindingFlags bindingAttr, System.Boolean ignoreCase, System.RuntimeType reflectedType) [0x0001b] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.RuntimeType.GetMethodCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.CallingConventions callConv, System.Type[] types, System.Boolean allowPrefixLookup) [0x00010] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.RuntimeType.GetMethods (System.Reflection.BindingFlags bindingAttr) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at HarmonyLib.AccessTools.GetDeclaredMethods (System.Type type) [0x00013] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at TabletopTweaks.Core.Utilities.PostPatchInitializer+<>c.<Initialize>b__0_1 (System.Type x) [0x00000] in <8ce35fab0a0c43228de158570e7aacda>:0 
  at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].MoveNext () [0x00051] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x0004e] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at TabletopTweaks.Core.Utilities.PostPatchInitializer.Initialize (TabletopTweaks.Core.ModLogic.ModContextBase context) [0x000dc] in <8ce35fab0a0c43228de158570e7aacda>:0 
  at IsekaiMod.Main.Load (UnityModManagerNet.UnityModManager+ModEntry modEntry) [0x00056] in <0374bcdeeee14121895e17de9dc2bd50>: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 <695d1cc93cca45069c528c15c9fdd749>:0 
   --- End of inner exception stack trace ---
  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 <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at UnityModManagerNet.UnityModManager+ModEntry.Invoke (System.String namespaceClassnameMethodname, System.Object& result, System.Object[] param, System.Type[] types) [0x00011] in <edf4be290c884482876de946a0f9e363>:0 
[IsekaiMod] Not loaded.
@anialimogia anialimogia added the bug Something isn't working label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant