LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.44k stars 476 forks source link

[Bug]: Failed to Initialize Assets Manager! #267

Closed Cross2pro closed 2 years ago

Cross2pro commented 2 years ago

All of the following criteria must be met

All of the following are optional to answer

Describe the issue.

Failed to Initialize Assets Manager! error when using MelonLoader in il2cpp game (Per Aspera). And the Unity version was not recognized at first. After I manually added the parameter (--melonloader.agfvunity) and corrected it, Dumper seemed to be able to export correctly, but an error was reported when loading the mod.

MelonLoader_22-07-22_22-08-08.415.log

Did you attach your log file?

HerpDerpinstine commented 2 years ago

As of this commit https://github.com/LavaGang/MelonLoader/commit/946d7add4b825ecbf9b6dd8b1da1b8009b91362b and the upcoming v0.5.5 update: The --melonloader.agfvunity launch option has been replaced with --melonloader.unityversion --melonloader.unityversion will now work properly for allowing the user to specify the Unity Version.