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

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

Open
6 of 7 tasks
Niofluff opened this issue Aug 15, 2024 · 3 comments
Open
6 of 7 tasks
Labels
Bug / Issue Something isn't working User Support This post was made to ask about an issue the user is having Work-in-Progress This issue or pull request is being worked on currently

Comments

@Niofluff
Copy link

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.

@Niofluff Niofluff changed the title [Bug]: Il2CppAssemblyGenerator fails, causing game to not launch [Bug]: Il2CppAssemblyGenerator fails due to metadata, causing game to not launch Aug 15, 2024
@HerpDerpinstine HerpDerpinstine added the User Support This post was made to ask about an issue the user is having label Aug 20, 2024
@HerpDerpinstine HerpDerpinstine added the Work-in-Progress This issue or pull request is being worked on currently label Sep 30, 2024
@HerpDerpinstine
Copy link
Member

HerpDerpinstine commented Sep 30, 2024

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

@HerpDerpinstine HerpDerpinstine added the Bug / Issue Something isn't working label Sep 30, 2024
@Niofluff
Copy link
Author

[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...```

@Niofluff
Copy link
Author

Niofluff commented Oct 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug / Issue Something isn't working User Support This post was made to ask about an issue the user is having Work-in-Progress This issue or pull request is being worked on currently
Projects
None yet
Development

No branches or pull requests

2 participants