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

Fallback method loader is malfunctioning and crashes chainloader #176

Open
karaok1 opened this issue Sep 18, 2024 · 0 comments
Open

Fallback method loader is malfunctioning and crashes chainloader #176

karaok1 opened this issue Sep 18, 2024 · 0 comments
Labels
bug Something isn't working injection

Comments

@karaok1
Copy link

karaok1 commented Sep 18, 2024

With some 32 bit game builds the class injector works but sometimes it doesn't. Not just me but I found a lot of people opened similar issues in the main repo but I couldn't find any answer.

Fatal error. 0xC0000005
   at Il2CppInterop.Runtime.Injection.ClassInjector.RegisterTypeInIl2Cpp(System.Type, Il2CppInterop.Runtime.Injection.RegisterTypeOptions)
   at Il2CppInterop.Runtime.DelegateSupport.ConvertDelegate[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Delegate)
   at UnityEngine.Application+LogCallback.op_Implicit(System.Action`3<System.String,System.String,UnityEngine.LogType>)
   at BepInEx.Unity.IL2CPP.Logging.IL2CPPUnityLogSource..ctor()
   at BepInEx.Unity.IL2CPP.IL2CPPChainloader.OnInvokeMethod(IntPtr, IntPtr, IntPtr, IntPtr)
[Message: Preloader] BepInEx 6.0.0-be.704 - Seafight
[Message: Preloader] Built from commit 6b38cee1277f4e3da5f2f685aee8b503a14d4054
[Info   :   BepInEx] System platform: Windows 10 64-bit
[Info   :   BepInEx] Process bitness: 32-bit (x86)
[Info   :   BepInEx] Running under Unity 2022.3.42f1
[Info   :   BepInEx] Runtime version: 6.0.7
[Info   :   BepInEx] Runtime information: .NET 6.0.7
[Info   : Preloader] 0 patcher plugins loaded
[Info   : Preloader] 0 assemblies discovered
[Message:AssemblyPatcher] Executing 0 patch(es)
[Message:   BepInEx] Chainloader initialized

BepInEx version: BepInEx-Unity.IL2CPP-win-x86-6.0.0-be.704+6b38cee

I want to debug and fix this but I can't attach fast enough because game closes too fast with above crash log.

@karaok1 karaok1 changed the title Fallback method usage is malfunctioning and crashes chainloader Fallback method loader is malfunctioning and crashes chainloader Sep 18, 2024
@ds5678 ds5678 added bug Something isn't working injection labels Sep 18, 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 injection
Projects
None yet
Development

No branches or pull requests

2 participants