To anyone trying this on Linux, there’s some issues with the upstream MelonLoader and BepInEx that require tweaking for this Unity release in particular. Here’s the findings I got from working an unreasoanble amount of hours on this.
BepInEx has 1 problem which makes the mod unusable: the game segfaults during Il2CppInterop initialization (not the mod’s fault) because BepInEx / Il2Cpp pass wrong parameters around due to Unity version differences. Solution is to wait for an upstream fix.
MelonLoader works but has 4 problems to solve.
First, if you’re on Debian 13, you’ll probably get:
/lib/x86_64-linux-gnu/libc.so: invalid ELF header
because Debian uses a linker script at that path. You can fix this by doing:
mkdir -p melonloader-compat
ln -s /lib/x86_64-linux-gnu/libc.so.6 melonloader-compat/libc.so
export LD_LIBRARY_PATH="$PWD/melonloader-compat${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
Second, Il2cpp startup hooks are missed during boot due to some race condition, which makes the mod not load. I fixed this by using LD_BIND_NOW=1 ./run_melonloader.sh.
Third, Debian does not have dotnet6, which is required for this mod / game. You can manually install dotnet6 runtime from Download .NET 6.0 (Linux, macOS, and Windows) | .NET and put it into the game folder. Then start the game with:
LD_BIND_NOW=1 ./run_melonloader.sh \
--melonloader.hostfxr \
"$PWD/dotnet6/host/fxr/6.0.36/libhostfxr.so"
Fourth, the bundled Il2CppInterop crashes on Unity 6000.3 (not mod’s fault). The fix is to install nightly build of MelonLoader with 6000/metadata-v39 Il2CppInterop support. I got mine from nightly.link | Repository LavaGang/MelonLoader | Workflow build.yml | Branch master. Just remove the mod’s bundled MelonLoader folder + MelonLoader.Bootstrap.so and replace them with the nightly build.
This is the final runner script I use:
export LD_LIBRARY_PATH="$PWD/melonloader-compat${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
DOTNET_ROOT="$PWD/dotnet6" \
LD_BIND_NOW=1 \
./run_melonloader.sh \
--melonloader.hostfxr "$PWD/dotnet6/host/fxr/6.0.36/libhostfxr.so"