LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono

Home Page:https://discord.gg/2Wn3N2P

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[INTERNAL FAILURE] Failed to Execute Cpp2IL!

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

Describe the issue.

Hello,
I'm almost sure this error is caused by a space in the game path.

In my opinion you should change code in line 53 of:
"MelonLoader/Dependencies/Il2CppAssemblyGenerator/Packages/Models
/ExecutablePackage.cs"

from:
processStartInfo = new ProcessStartInfo(ExeFilePath, parenthesize_args

to something like:
processStartInfo = new ProcessStartInfo("\""+ExeFilePath+"\"", parenthesize_args

I'm right?