MelonLoader

MelonLoader

242 Downloads

[Bug]: Il2CppAssemblyGenerator fails due to metadata, causing game to not launch

Niofluff opened this issue ยท 3 comments

commented

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 reinstalling the Game.
  • Tried reinstalling MelonLoader.
  • Tried restarting PC.
  • Was able to see the Start Screen.

Describe the issue.

Latest.log

Il2CppAssemblyGenerator seems to fail due to bad metadata, though i suspect this is a issue with the game itself (ensemble stars music)
i tried finding anyone reporting similar errors on other issies but couldnt find anything, sorry if this is an invalid issue

Did you attach your log file?

Yes, I attached my log file to the text box above.

commented

Please retest this with the newest MelonLoader release of v0.6.5.

commented
[08:09:01.562] [Il2CppAssemblyGenerator] [Fail] [Program]
[08:09:01.562] [Il2CppAssemblyGenerator]
[08:09:01.562] [Il2CppAssemblyGenerator] Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL!
[08:09:01.563] [Il2CppAssemblyGenerator]  ---> System.FormatException: Invalid or corrupt metadata (magic number check failed)
[08:09:01.563] [Il2CppAssemblyGenerator]    at LibCpp2IL.Metadata.Il2CppMetadata.ReadFrom(Byte[], UnityVersion) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\Metadata\Il2CppMetadata.cs:line 65
[08:09:01.563] [Il2CppAssemblyGenerator]    at LibCpp2IL.LibCpp2IlMain.Initialize(Byte[], Byte[], UnityVersion) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\LibCpp2IlMain.cs:line 155
[08:09:01.564] [Il2CppAssemblyGenerator]    at LibCpp2IL.LibCpp2IlMain.LoadFromFile(String, String, UnityVersion) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\LibCpp2IlMain.cs:line 208
[08:09:01.564] [Il2CppAssemblyGenerator]    at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String, String, UnityVersion, Boolean ) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\Cpp2IlApi.cs:line 66
[08:09:01.565] [Il2CppAssemblyGenerator]    --- End of inner exception stack trace ---
[08:09:01.565] [Il2CppAssemblyGenerator]    at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String, String, UnityVersion, Boolean ) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\Cpp2IlApi.cs:line 72
[08:09:01.565] [Il2CppAssemblyGenerator]    at Cpp2IL.Program.MainWithArgs(Cpp2IlRuntimeArgs runtimeArgs) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:line 587
[08:09:01.566] [Il2CppAssemblyGenerator]    at Cpp2IL.Program.Main(String[] args) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:line 525
[08:09:01.566] [Il2CppAssemblyGenerator]
[08:09:01.566] [Il2CppAssemblyGenerator] Waiting for you to press enter - feel free to copy the error...```
commented

Latest.log
here is the full log (with full reinstall both of melon launcher and game)