MelonLoader injects into Unity game installs to load user mods and plugins from dedicated folders. It supports both Il2Cpp and Mono Unity titles.
Overview
MelonLoader is a mod-loading layer for Unity games that works with Il2Cpp and Mono builds. It is placed in a game's installation folder so the title starts with the loader enabled, then picks up content from Mods and Plugins directories the loader creates.
Installation copies the MelonLoader folder plus proxy libraries such as version.dll into the game directory, often via an installer or manual extract from a release archive. On Windows a proxy DLL can masquerade under several system-style names so different games can load the bootstrap. Optional launch flags control console behavior, whether mods load, debug modes, Harmony log capture, and Il2Cpp or Mono tuning.
At runtime MelonLoader maintains a UserData area with loader configuration, writes logs under MelonLoader/Logs, and applies game-specific Unity and Cpp2IL launch options. Uninstalling removes the proxy file and MelonLoader folder; optional steps delete Mods, Plugins, and UserData for a full cleanup.
Key features
- Il2Cpp and Mono Unity support
- Separate Mods and Plugins directories
- Configurable loader via UserData
- Proxy DLL bootstrap on Windows
- Launch options for debug and logging
- Optional full uninstall of mod data
Use cases
- Loading mods into Unity games
- Running plugins alongside a game
- Debugging mods with loader log capture