Failed to Load IL2CPP: How to Fix Unity Games on Windows

Brendan Smith
Brendan Smith - Cybersecurity Analyst
11 Min Read
An orange play button jammed in a green gate beside the message IL2CPP won’t load.
A Unity game can stop at launch when its compiled code cannot load.

“Failed to load il2cpp” means a Unity game could not load part of its compiled code at startup. On Windows, open Windows Security → Virus & threat protection → Protection history. Look for an alert that names a file from the game’s folder and matches the time of the failed launch. If you use another antivirus, check its quarantine too.

Choose the next step on Windows

What the IL2CPP error means

Unity uses IL2CPP to convert a game’s managed code into native code. In a Windows IL2CPP build, GameAssembly.dll contains the IL2CPP runtime and code compiled for that game. The DLL can be missing, present but blocked, or present with a dependency the system cannot load. The fatal-error dialog alone gives you no way to tell which happened. Use the launcher to repair a missing file. A copy from another game, a different version or a DLL download site can introduce a version mismatch or unsafe code.

Repair the game through Steam

  1. Close the game, finish any pending update, then open your Steam Library.
  2. Right-click the game and choose Properties → Installed Files → Verify integrity of game files. Let Steam finish checking and replacing files before you launch again. [1]
  3. If it still fails, note the time of that attempt. On Windows, check the two locations below before repeating the repair. If you have mods, test the official build after removing them through their manager or documented uninstall procedure. Steam verification can replace shipped files while leaving extra files from mods in the folder.
Steam game properties with Installed Files selected and Verify integrity of game files outlined in red.
In Steam, open the game’s Properties, select Installed Files, and click Verify integrity of game files. Screenshot from Steam Support.

Steam can report a local configuration file that failed to verify during an otherwise normal check. If it repeatedly reacquires game files and a fresh security alert names the same DLL, follow the alert. If the files verify and a matching Code Integrity event appears on each launch, another download of the same build is unlikely to change the policy decision.

Check what blocked the launch on Windows 11

Antivirus quarantine

Open Windows Security → Virus & threat protection → Protection history. If you use another antivirus, check its quarantine or event history too. Expand the event and compare the affected path and time with the game’s failed launch. A matching quarantine tells you why the launcher may have lost access to the file. Keep the file isolated, record the detection name and installed game version, and ask the game developer and the security vendor to review that specific build. Use the official launcher to repair the game after the game publisher supplies a corrected build or the security vendor resolves the detection. [2] GameAssembly.dll alert and false-positive checks.

The Windows Security Protection history page, with Protection history selected in the left menu and a Filters button above recent items.
In Protection history, look for a detection from the time of the failed launch. Screenshot from Microsoft Support.

Smart App Control or another application policy

If Windows shows a Smart App Control message or the file is still in the game folder, search for Event Viewer in Start. Open Applications and Services Logs → Microsoft → Windows → CodeIntegrity → Operational. Look for Event ID 3077 at the time of the launch and open its details. Compare the blocked file’s full path and the process that tried to load it. A matching 3077 indicates an enforced application-control block. The policy name or the accompanying Windows notification helps you identify whether it was Smart App Control or a different policy. Focus on entries for this game and this specific launch. [3]

For a matching event, send the game publisher the game build, Windows version, policy name and blocked filename. On a managed PC, send these details to your administrator too. Use the publisher’s supported update or corrected installer and keep Windows protection enabled.

Repair ROB RUN, DOFUS, Rust or Zenless Zone Zero

  • ROB RUN. Kefir lists Steam file verification for this exact error. Update ROB RUN and the Steam client, then verify the game. If it still fails and Code Integrity names the ROB RUN copy of GameAssembly.dll, include that event when contacting Kefir.
  • DOFUS. In Ankama Launcher, temporarily pause automatic updates while repairing. Open DOFUS’s Game Options → General → Begin repair. Let it finish, re-enable updates and launch from Ankama Launcher. If the error returns, send Ankama the launcher log and whether repair completed.
  • Rust. Verify the installed files in Steam and launch from the Steam Library. If the problem started after ReShade was installed, remove its files using Facepunch’s ReShade guidance and verify again. If Rust instead shows an Easy Anti-Cheat message, report that full error separately.
  • Zenless Zone Zero (ZZZ). Select the game in HoYoPlay, open the game’s options and choose Repair Now. Use the launcher repair when the game closes before the title screen. If it fails again, report the version and whether HoYoPlay completed the repair to HoYoverse support.

If it is your own Unity build

Build the Windows player into a new empty output directory for the target architecture. Run it from that directory, then test the distributed archive extracted in another clean directory. Keep the generated executable, UnityPlayer.dll, GameAssembly.dll, the matching data folder and any shipped plugins together. If the local build starts but the extracted release fails, compare what your packaging process actually shipped. If both fail with the DLL present and no matching block, check that native plugins and their dependencies match the target architecture.

Check for a fresh Player.log at %USERPROFILE%\AppData\LocalLow\CompanyName\ProductName\Player.log, using your project’s company and product names. A failure very early in startup may leave no new player log, so record the exact dialog and time too.

If the error appears under Wine or Proton

Check whether the publisher supports your platform and whether the same game build works on its supported configuration. When Steam is running the Windows game through Proton, verify the game files, then note the selected Proton version. To collect one launch log, set PROTON_LOG=1 %command% in Steam’s launch options and reproduce the error once. Look near the failure for a missing import or a named DLL that failed to load. Valve’s default log is steam-<APPID>.log in your home directory. Remove the launch option after testing.

With standalone Wine, collect the launcher’s output and the Wine version. Share the relevant lines with support after removing personal paths or account details. Back up saves before replacing a compatibility prefix. A game with its DLL present can still fail if a dependency is unavailable in that environment. Use the game’s supported platform or report the missing dependency to the project that can fix it.

If you already ran a DLL fixer or an unofficial mod

Stop using the download and leave any detections quarantined. A fake repair tool can install a separate loader or startup task that keeps running after the visible file is removed. If you ran it, use Gridinsoft Anti-Malware to update the Threat List and run a Full scan. Review detection names and paths, keep uncertain items quarantined, remove confirmed malware and restart if prompted. If you also see unexpected Steam or Discord sign-ins, use the account recovery steps from a trusted device. Recovery after a suspicious game or mod download.

FAQ

Can I install IL2CPP separately to fix the game?

For a released game, restore the components shipped with that exact build through its official launcher or installer. The IL2CPP option in the Unity Editor is for developers building a project.

What should I send support if repair did not help?

Send the game name and build, the launcher, your Windows or Wine/Proton version, the exact message and when it appeared. Include the verification result and, if you found one, the matching antivirus event or Code Integrity entry with the blocked filename. That helps support distinguish a delivery problem from a load or policy failure.

References

  1. Valve. “Verify Integrity of Game Files.” Steam Support. Accessed December 4, 2026. Steam verification instructions.
  2. Microsoft. “Protection History in the Windows Security App.” Microsoft Support. Accessed December 4, 2026. Protection History and quarantine.
  3. Microsoft. “App Control debugging and troubleshooting guide.” Microsoft Learn, August 18, 2026. Accessed December 4, 2026. Code Integrity event fields and example screenshot.
Share This Article
Cybersecurity Analyst
Follow:
Brendan Smith has spent over 15 years knee-deep in cybersecurity, chasing down malware from the gritty reverse-engineering of old-school trojans all the way to wrangling full-blown incident responses for small-to-medium businesses that couldn’t afford a full-blown breach. Over at Gridinsoft, he’s the guy piecing together those double-checked guides on nasty stuff like AsyncRAT, a remote access tool used in malware campaigns—helping readers make sense of the threat and work through cleanup without the extra headache.
Leave a Comment

AI Assistant

Hello! 👋 How can I help you today?