wildbook / R2Mods

Here's a collection of the Risk of Rain 2 mods I've made so far, entirely open source.
MIT License
11 stars 15 forks source link

[Multitudes] Mod no longer works on newest RoR2 version #12

Closed Moonbloom closed 4 years ago

Moonbloom commented 4 years ago

Newest R2API & BepInEx

Starting the game gives the following stacktrace in the console:

[Info   :   BepInEx] Loading [R2API 2.4.2]
[Info   :   BepInEx] Loading [Multitudes 1.3.0]
[Error  : Unity Log] KeyNotFoundException: The given key was not present in the dictionary.
Stack trace:
MonoMod.Cil.ILCursor.GotoNext (MonoMod.Cil.MoveType moveType, System.Func`2[Mono.Cecil.Cil.Instruction,System.Boolean][] predicates) (at <014070a30c9a42e3becb67d17f0aa813>:0)
MonoMod.Cil.ILCursor.GotoNext (System.Func`2[Mono.Cecil.Cil.Instruction,System.Boolean][] predicates) (at <014070a30c9a42e3becb67d17f0aa813>:0)
Multitudes.Multitudes.<Awake>b__7_1 (MonoMod.Cil.ILContext il) (at <d7adaf73cea84a17aa25fa48a90480df>:0)
MonoMod.Cil.ILContext.Invoke (MonoMod.Cil.ILContext+Manipulator manip) (at <014070a30c9a42e3becb67d17f0aa813>:0)
MonoMod.RuntimeDetour.ILHook+Context.InvokeManipulator (Mono.Cecil.MethodDefinition def, MonoMod.Cil.ILContext+Manipulator cb) (at <454c317a535d48e898e657206da1cf99>:0)
MonoMod.RuntimeDetour.ILHook+Context.Refresh () (at <454c317a535d48e898e657206da1cf99>:0)
MonoMod.RuntimeDetour.ILHook.Apply () (at <454c317a535d48e898e657206da1cf99>:0)
MonoMod.RuntimeDetour.ILHook..ctor (System.Reflection.MethodBase from, MonoMod.Cil.ILContext+Manipulator manipulator, MonoMod.RuntimeDetour.ILHookConfig& config) (at <454c317a535d48e898e657206da1cf99>:0)
MonoMod.RuntimeDetour.ILHook..ctor (System.Reflection.MethodBase from, MonoMod.Cil.ILContext+Manipulator manipulator, MonoMod.RuntimeDetour.ILHookConfig config) (at <454c317a535d48e898e657206da1cf99>:0)
MonoMod.RuntimeDetour.ILHook..ctor (System.Reflection.MethodBase from, MonoMod.Cil.ILContext+Manipulator manipulator) (at <454c317a535d48e898e657206da1cf99>:0)
MonoMod.RuntimeDetour.HookGen.HookEndpoint._NewILHook (System.Reflection.MethodBase from, MonoMod.Cil.ILContext+Manipulator to) (at <454c317a535d48e898e657206da1cf99>:0)
MonoMod.RuntimeDetour.HookGen.HookEndpoint._Add[TDelegate] (System.Func`3[T1,T2,TResult] gen, TDelegate hookDelegate) (at <454c317a535d48e898e657206da1cf99>:0)
MonoMod.RuntimeDetour.HookGen.HookEndpoint.Modify (System.Delegate hookDelegate) (at <454c317a535d48e898e657206da1cf99>:0)
MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Modify (System.Reflection.MethodBase method, System.Delegate callback) (at <454c317a535d48e898e657206da1cf99>:0)
MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Modify[T] (System.Reflection.MethodBase method, System.Delegate callback) (at <454c317a535d48e898e657206da1cf99>:0)
IL.RoR2.Run.add_FixedUpdate (MonoMod.Cil.ILContext+Manipulator ) (at <898b3b3632e94b37922b168e94ae1971>:0)
Multitudes.Multitudes.Awake () (at <d7adaf73cea84a17aa25fa48a90480df>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Application:.cctor()
RoR2.SkinDef:Awake()

Any chance of an update to this awesome mod?

wildbook commented 4 years ago

Damn, it survived from the first patch we ran mods on until now. Feels like watching your kid trip and fall.

I'll update it when I get some time to, will probably take a few days but I'll try my best to do it ASAP.

Thanks for the notice!

wildbook commented 4 years ago

In theory at least, the multitudes issue should be fixed in the latest version on thunderstore. There's still a bugfix that needs to be done, but that's all. Going to leave this issue open until that's also pushed.