Quick answer: Both dialogs mean the Unity player could not load its scripting runtime. Failed to load il2cpp points at GameAssembly.dll beside the executable; Failed to load mono points at mono-2.0-bdwgc.dll inside the MonoBleedingEdge folder. The file is missing, quarantined, damaged, or from a different build. Players should verify or re-extract the game and restore quarantined files; developers should ship the complete build folder and never patch over an old install.

Two short dialogs, one cause in common: the engine started, went to load the code that runs your C# scripts, and could not. Which dialog a player sees depends on the scripting backend you built with, and that tells you which file to look for. Most reports come down to a file that is not on the disk any more, and the interesting question is who removed it: the player, their antivirus, a mod, or your own update process. Here is how to tell those apart from a folder listing, what to change in how you package and patch, and what to send the player.

The two dialogs

Failed to load il2cpp
Failed to load mono

Each is the entire message, shown by the standalone player at launch. The process exits when the dialog is closed. A given build can only ever show one of them, because a build contains one scripting backend.

Which backend each one belongs to

The backend is the Scripting Backend setting under Edit > Project Settings > Player > Other Settings > Configuration. It decides where your compiled scripts live in the build, and so what the player loads at startup:

DialogBackendFile the player could not loadWhat else that backend needs
Failed to load il2cppIL2CPPGameAssembly.dll, beside the executableMyGame_Data\il2cpp_data\, including Metadata\global-metadata.dat
Failed to load monoMonoMonoBleedingEdge\EmbedRuntime\mono-2.0-bdwgc.dllThe rest of MonoBleedingEdge\ and the assemblies in MyGame_Data\Managed\

With IL2CPP, all of your C# and the libraries it uses are compiled to native code in GameAssembly.dll, and global-metadata.dat holds the type and method names that code looks up at runtime. With Mono, mono-2.0-bdwgc.dll is the runtime that loads and compiles the .dll assemblies in Managed, such as Assembly-CSharp.dll.

“Failed to load” covers three things: the file is absent, Windows refused to load it (wrong architecture, truncated, blocked), or something it depends on is absent. The first is by far the most frequent.

What causes it

  1. Antivirus quarantined the file. The leading cause of the il2cpp dialog for a single player. GameAssembly.dll is a large native binary that is unique to your game and usually unsigned, which is the profile heuristic scanners distrust. The file is removed during install or on first launch, and the player sees the dialog instead of a virus warning they would recognize.
  2. The build was copied or extracted incompletely. The player moved the executable and the _Data folder somewhere else and left GameAssembly.dll or MonoBleedingEdge behind, or the extraction stopped on a full disk. This is a relative of the missing _Data folder error and has the same remedy.
  3. Files from two different builds are mixed. A patch zip was extracted over an older install, an updater was interrupted, or your own build output folder was reused after you switched backend or Unity version. A UnityPlayer.dll from an IL2CPP build sitting next to leftover Mono files asks for a GameAssembly.dll that was never there. A 32-bit DLL next to a 64-bit executable fails the same way.
  4. A mod loader or modified files that target the other backend. Loaders such as BepInEx and MelonLoader are built or configured per backend and hook the game through a proxy DLL in the game folder (commonly winhttp.dll or version.dll). When you move a game from Mono to IL2CPP in an update, every existing mod install breaks, and the failure can take this form.
  5. A damaged install. A truncated or corrupted file from a failing disk or an interrupted download. Uncommon, and fixed by the same verify step as everything above.
  6. A missing dependency of the DLL. Rare with a stock Unity build, because the runtime DLLs depend only on files Unity ships and on Windows system libraries. Consider it last, on unusual or heavily trimmed Windows installs.

How to tell which cause it is

A folder listing answers most of it. Ask for a screenshot of the game folder with file sizes visible, and compare it with the build you shipped. An IL2CPP build has these:

MyGame\
  MyGame.exe
  GameAssembly.dll
  baselib.dll
  UnityPlayer.dll
  UnityCrashHandler64.exe
  MyGame_Data\
    il2cpp_data\
      Metadata\
        global-metadata.dat

A Mono build has these:

MyGame\
  MyGame.exe
  UnityPlayer.dll
  UnityCrashHandler64.exe
  MonoBleedingEdge\
    EmbedRuntime\
      mono-2.0-bdwgc.dll
    etc\
  MyGame_Data\
    Managed\
      Assembly-CSharp.dll

Then read the listing for these signs:

Player.log is less help than usual. The scripting runtime loads very early, so the log for the failed run may be missing or only a few lines long, and the file in the folder may be left over from an earlier, successful run. Check its modified time before reading it. When there is a fresh one, compare it with a healthy log: a Mono build normally records lines beginning Mono path[0] = and Mono config path = near the top, with the folders it is using, and a log that stops before them failed where the dialog says. The log lives in %USERPROFILE%\AppData\LocalLow\<CompanyName>\<ProductName>\.

If GameAssembly.dll loads and it is the metadata file that is missing or from another build, startup still fails, but with a different message or a crash depending on the Unity version. Treat that as the same mixed-build problem.

Fix 1: package the whole build folder, from an empty output

Build into an empty folder every time. Do not count on Unity clearing out what a previous build left there, least of all after a backend or editor version change. In a build script, delete the output directory first:

// using System.IO;
if (Directory.Exists("Builds/Windows"))
    Directory.Delete("Builds/Windows", true);

Then ship everything in it apart from the folders whose names end in _DoNotShip and _ButDontShipItWithYourGame. Uploads that take only some of the top-level files, or only the _Data folder, produce these dialogs for every player. The packaging rules for zip, itch.io, Steam and installers in the _Data folder guide apply unchanged, and the same incomplete package is behind most UnityPlayer.dll was not found reports.

Fix 2: ship updates as a whole build

Steam and itch.io’s butler compare your new build with the old one and remove files that no longer exist, so an update through them leaves a consistent install. The trouble starts with hand-made patches: a zip of “changed files” to extract over the game, or a custom launcher that overwrites files in place and can be closed halfway.

Fix 3: make the DLL less likely to be quarantined

Code-sign the executable and GameAssembly.dll with your certificate as a build step, and when a scanner flags a release, submit the file to that vendor as a false positive. Microsoft accepts submissions for Defender through its security intelligence portal. Neither step is a guarantee. The longer treatment is in fixing a game flagged by antivirus on launch.

What to tell players

  1. Steam: Properties > Installed Files > Verify integrity of game files. For a zip download, delete the game folder and extract the whole archive again to a new folder.
  2. If the error comes back, open your antivirus quarantine (Windows Security: Virus & threat protection > Protection history), restore GameAssembly.dll, and add the game folder as an exclusion.
  3. Remove mods and mod loaders: delete winhttp.dll, version.dll, doorstop_config.ini and the loader’s folders from the game folder, then verify files again. Reinstall mods only when they have been updated for the current version.
  4. Do not move individual files out of the game folder. Move the whole folder, or reinstall to the new location.
  5. Still failing: send a screenshot of the game folder showing file names and sizes.

How to confirm the fix

Download the release the way a player does, onto a clean Windows virtual machine with real-time antivirus protection left on, and launch it. Keep a snapshot with the previous public version installed and apply the update to it through the store; that is the test that catches mixed builds. For the antivirus case, upload the release build’s GameAssembly.dll to a multi-engine scanning service before launch day and deal with detections while there is still time to sign or resubmit.

What Bugnet sees of this

A game that never starts cannot report itself, and here the reason is unusually direct: Bugnet’s Unity SDK is C#, and the dialog says the thing that runs C# did not load. No report is possible. Two things are. The same damage in a milder form does start: an install with mismatched or modded files that launches and then throws TypeLoadException or MissingMethodException is captured automatically, grouped by message, with game version and OS attached, which often exposes a bad patch before the forum does. And a known-issue entry on your public tracker, titled “Failed to load il2cpp” and carrying the verify, restore and remove-mods steps, gives players the answer at the moment they search the message.

Frequently asked questions

What does Failed to load il2cpp mean?

The Unity player could not load GameAssembly.dll, the file that holds the game’s compiled scripts in an IL2CPP build. The file is usually missing because antivirus quarantined it or the game was copied or extracted incompletely. Verifying or reinstalling the game and restoring the file fixes it.

What does Failed to load mono mean?

The game was built with the Mono scripting backend and the player could not load the Mono runtime, mono-2.0-bdwgc.dll, from the MonoBleedingEdge folder next to the executable. The folder is missing, incomplete, or belongs to a different build of the game.

Why does the error come back after I verify the game files?

Something on the PC is removing the file again after Steam restores it, almost always antivirus real-time protection. Check the quarantine or protection history, restore the file, and add the game’s install folder as an exclusion before launching again.

Can mods cause Failed to load il2cpp?

Yes. Mod loaders are specific to the scripting backend, and a loader or modified files made for a Mono version of a game will not work after the game moves to IL2CPP, or the reverse. Remove the loader’s files from the game folder and verify the game files.

How do I know whether a Unity game uses Mono or IL2CPP?

Look in the game folder. A GameAssembly.dll next to the executable and an il2cpp_data folder inside the Data folder mean IL2CPP. A MonoBleedingEdge folder and a Managed folder containing Assembly-CSharp.dll mean Mono.

Before theorizing, get a screenshot of the game folder with file sizes: whether GameAssembly.dll or MonoBleedingEdge is present, and what sits beside it, identifies the cause faster than any log.