SHARE
TWEET

Another HookGen problem, this time in a new place?

Sc2ad Jun 18th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. NullReferenceException: Unexpected null in System.Void GameSelectionPanel::Display(System.Boolean,System.String,System.Int32,GameSelectionPanel/GameSelectionFinishedHandler) @ IL_045d: call !0 System.Collections.Generic.List`1/Enumerator<Amplitude.StaticString>::get_Current()
  2. Stack trace:
  3. MonoMod.Utils.DynamicMethodDefinition._GenerateEmit (System.Reflection.MethodBase _mb, System.Reflection.Emit.ILGenerator il)
  4. MonoMod.Utils.DynamicMethodDefinition.GenerateViaDynamicMethod ()
  5. MonoMod.Utils.DynamicMethodDefinition.Generate (System.Object context)
  6. MonoMod.Utils.DynamicMethodDefinition.Generate ()
  7. MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.CreateCopy (System.Reflection.MethodBase method)
  8. MonoMod.RuntimeDetour.DetourHelper.CreateILCopy (System.Reflection.MethodBase method)
  9. MonoMod.RuntimeDetour.Detour..ctor (System.Reflection.MethodBase from, System.Reflection.MethodBase to)
  10. MonoMod.RuntimeDetour.Hook..ctor (System.Reflection.MethodBase from, System.Reflection.MethodInfo to, System.Object target)
  11. MonoMod.RuntimeDetour.Hook..ctor (System.Reflection.MethodBase method, System.Delegate to)
  12. MonoMod.RuntimeDetour.HookGen.HookEndpoint.Add (System.Delegate hookDelegate)
  13. MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Add (System.Reflection.MethodBase method, System.Delegate hookDelegate)
  14. MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Add[hook_Display] (System.Reflection.MethodBase method, System.Delegate hookDelegate)
  15. On.GameSelectionPanel.add_Display (On.hook_Display )
  16. ManyHeroes_Mod.ManyHeroesMod.OnLoad ()
  17. ManyHeroes_Mod.ManyHeroesMod.Awake ()
  18. UnityEngine.GameObject:AddComponent(Type)
  19. BepInEx.Bootstrap.Chainloader:Start()
  20. UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32, Int32)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top