Failed to generate Il2Cpp interop assemblies ---> System.Exception: Failed to find pCodegenModules #798
Labels
error
Error message or log that may need investigation
needs-replication
Issue needs to be replicated by BepInEx dev
What happened?
I kept getting the error
File name: 'UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
at BepInEx.Unity.IL2CPP.IL2CPPChainloader.OnInvokeMethod(IntPtr method, IntPtr obj, IntPtr parameters, IntPtr exc)
Which i simply fixed by copying UnityEngine.CoreModule.dll into the core folder.
(This CoreModule error was a crash error. Without doing this would result in the game just not opening)
Then configured BepInEx.cfg UnityLogListening = false since i kept getting the Chainloader error
The Chainloader error was
[Fatal : BepInEx] Unable to execute IL2CPP chainloader
[Error : BepInEx] System.MissingMethodException: Method not found: 'LogCallback 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 method, IntPtr obj, IntPtr parameters, IntPtr exc) in /home/runner/work/BepInEx/BepInEx/Runtimes/Unity/BepInEx.Unity.IL2CPP/IL2CPPChainloader.cs:line 88 [Fatal : BepInEx] Unable to execute IL2CPP chainloader [Error : BepInEx] System.MissingMethodException: Method not found: 'LogCallback 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 method, IntPtr obj, IntPtr parameters, IntPtr exc) in /home/runner/work/BepInEx/BepInEx/Runtimes/Unity/BepInEx.Unity.IL2CPP/IL2CPPChainloader.cs:line 104
But after doing these changes. I now get a error that i cant quite fix.
Also the unityexplorer plugin doesnt seem to load at all. Not even showing 1 plugins to load in the log (This is definitely on my behalf though.)
BepInEx Distribution
Bleeding Edge from BepisBuilds
Log outputs
Environment
The text was updated successfully, but these errors were encountered: