forked from sinai-dev/UnityExplorer
-
-
Notifications
You must be signed in to change notification settings - Fork 54
Closed as not planned
Labels
not bugthis issue is not bugthis issue is not bugwontfixThis will not be worked onThis will not be worked on
Description
Describe the issue
This might be tightly coupled with this issue:
BepInEx/Il2CppInterop#216
Game in question: https://store.steampowered.com/app/2313700 (free Demo)
Crash log:
Stack overflow.
at Il2CppInterop.Runtime.Injection.Hooks.GenericMethod_GetMethod_Hook.Hook(Il2CppInterop.Runtime.Runtime.Il2CppGenericMethod*, Boolean)
at BepInEx.Unity.IL2CPP.IL2CPPChainloader.OnInvokeMethod(IntPtr, IntPtr, IntPtr, IntPtr)
at Il2CppInterop.Runtime.IL2CPP.il2cpp_runtime_invoke(IntPtr, IntPtr, Void**, IntPtr ByRef)
at Il2CppSystem.Reflection.MethodInfo.MakeGenericMethod(Il2CppInterop.Runtime.InteropTypes.Arrays.Il2CppReferenceArray`1<Il2CppSystem.Type>)
at UnityEngine.GameObject+MethodInfoStoreGeneric_AddComponent_Public_T_0`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]..cctor()
at UnityEngine.GameObject.AddComponent[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]()
at UniverseLib.UniversalBehaviour.Setup()
at UniverseLib.Universe.Init(Single, System.Action, System.Action`2<System.String,UnityEngine.LogType>, UniverseLib.Config.UniverseLibConfig)
at UnityExplorer.ExplorerCore.Init(UnityExplorer.IExplorerLoader)
at UnityExplorer.ExplorerBepInPlugin.Init()
at UnityExplorer.ExplorerBepInPlugin.Load()
at BepInEx.Unity.IL2CPP.IL2CPPChainloader.LoadPlugin(BepInEx.PluginInfo, System.Reflection.Assembly)
at BepInEx.Bootstrap.BaseChainloader`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].LoadPlugins(System.Collections.Generic.IList`1<BepInEx.PluginInfo>)
at BepInEx.Bootstrap.BaseChainloader`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Execute()
at BepInEx.Unity.IL2CPP.IL2CPPChainloader.OnInvokeMethod(IntPtr, IntPtr, IntPtr, IntPtr)
Looks like it crashes right after custom type injection and component addition.
I havent tested any other mods, once I do I report back.
Metadata
Metadata
Assignees
Labels
not bugthis issue is not bugthis issue is not bugwontfixThis will not be worked onThis will not be worked on