
[Bug]: Il2CppAssemblyGenerator fails with "Failed to find pCodegenModules" on Unity 6000.0.26f1 game
OldRazeJedy opened this issue ยท 1 comments
All of the following criteria must be met
- All Requirements must be installed.
- Changed the title so that it doesn't just says "[Bug]: "
- I have searched the GitHub issues for my bug, even in the closed issues.
All of the following are optional to answer
- Tried restarting PC.
- Tried reinstalling MelonLoader.
- Was able to see the Start Screen.
- Tried reinstalling the Game.
Describe the issue.
When starting the game, the following error appears in the console:
[19:37:54.851] [Il2CppAssemblyGenerator] [Info] [Library] Searching Binary for Required Data...
[19:37:54.969] [Il2CppAssemblyGenerator] [Fail] [Program]
[19:37:54.969] [Il2CppAssemblyGenerator]
[19:37:54.969] [Il2CppAssemblyGenerator] Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL!
[19:37:54.970] [Il2CppAssemblyGenerator] ---> System.Exception: Failed to find pCodegenModules
[19:37:54.970] [Il2CppAssemblyGenerator] at LibCpp2IL.BinarySearcher.FindCodeRegistrationPost2019() in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\BinarySearcher.cs:line 209
[19:37:54.970] [Il2CppAssemblyGenerator] at LibCpp2IL.Il2CppBinary.FindCodeAndMetadataReg(Int32, Int32) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\Il2CppBinary.cs:line 495
[19:37:54.971] [Il2CppAssemblyGenerator] at LibCpp2IL.LibCpp2IlBinaryRegistry.CreateAndInit(Byte[], Il2CppMetadata) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\LibCpp2IlBinaryRegistry.cs:line 68
[19:37:54.971] [Il2CppAssemblyGenerator] at LibCpp2IL.LibCpp2IlMain.Initialize(Byte[], Byte[], UnityVersion) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\LibCpp2IlMain.cs:line 158
[19:37:54.972] [Il2CppAssemblyGenerator] at LibCpp2IL.LibCpp2IlMain.LoadFromFile(String, String, UnityVersion) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\LibCpp2IlMain.cs:line 202
[19:37:54.972] [Il2CppAssemblyGenerator] at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String, String, UnityVersion, Boolean ) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\Cpp2IlApi.cs:line 65
[19:37:54.972] [Il2CppAssemblyGenerator] --- End of inner exception stack trace ---
[19:37:54.973] [Il2CppAssemblyGenerator] at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String, String, UnityVersion, Boolean ) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\Cpp2IlApi.cs:line 71
[19:37:54.973] [Il2CppAssemblyGenerator] at Cpp2IL.Program.MainWithArgs(Cpp2IlRuntimeArgs runtimeArgs) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:line 588
[19:37:54.973] [Il2CppAssemblyGenerator] at Cpp2IL.Program.Main(String[] args) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:line 526
Did you attach your log file?
Yes, I attached my log file to the text box above.