Quick answer: MSVCR120.dll and MSVCP120.dll are the Visual C++ 2013 runtime (version 12.0). It is a separate package from the 2015 and later runtime, so players who “already installed Visual C++” still get the error. Find which of your files imports it with dumpbin /dependents, then install the 2013 redistributable with the game, ship the two DLLs beside the executable, or replace the old dependency. Players should install the x86 and x64 2013 packages from Microsoft.

The support thread always goes the same way. A player reports that MSVCR120.dll is missing, someone tells them to install the Visual C++ redistributable, and they reply that it is already installed. Both are right: there are several Visual C++ runtimes, each tied to one compiler version, and the player has a different one. The more interesting question for you is why a game built this decade needs a 2013 runtime at all. This guide covers how to read the DLL name, how to find the file in your build that asks for it, three ways to stop players seeing the dialog, and what to tell the ones who already have.

The exact error

Older Windows versions word it like this:

MyGame.exe - System Error
The program can't start because MSVCR120.dll is missing from your computer. Try reinstalling the program to fix this problem.

Current Windows 10 and Windows 11 builds use a different sentence for the same failure:

MyGame.exe - System Error
The code execution cannot proceed because MSVCP120.dll was not found. Reinstalling the program may fix this problem.

Either file name can appear in either wording, and players often get one dialog after the other. The Windows loader shows it while resolving the executable’s imports, before any of your code runs. The title bar names the process that failed, which is worth reading: it may be a launcher, an updater or a crash reporter that ships with the game instead of the game executable.

Which runtime the file name points to

The digits in the name are the compiler version. msvcr is the C runtime and msvcp is the C++ standard library; 120 is Visual C++ 12.0, the compiler in Visual Studio 2013.

DLL in the dialogBuilt withRedistributable that provides it
msvcr100.dll, msvcp100.dllVisual Studio 2010 (10.0)Visual C++ 2010
msvcr110.dll, msvcp110.dllVisual Studio 2012 (11.0)Visual C++ 2012
msvcr120.dll, msvcp120.dllVisual Studio 2013 (12.0)Visual C++ 2013
vcruntime140.dll, msvcp140.dllVisual Studio 2015 and later (14.x)The single 2015 and later package, labelled 2015-2022 on most PCs

Up to 2013, every Visual Studio release had its own runtime with its own DLL names, and each needs its own install. From 2015 onward the releases share one binary-compatible runtime, which is why a single package covers them and why most players only have that one. It does not contain msvcr120.dll. Other files ending in 120, such as vcomp120.dll and mfc120.dll, come from the same 2013 package.

A name ending in D, MSVCR120D.dll or MSVCP120D.dll, is a different problem: something in the build was compiled in Debug configuration. The debug runtime is not redistributable. Rebuild that component as Release.

Why a current game still needs it

  1. A third-party DLL in your build was compiled with Visual Studio 2013. The usual answer. Prebuilt middleware, a native plugin from an asset store, a codec or networking library you have carried from project to project. Your own code is built with a current compiler, and one binary you did not build brings the old runtime with it.
  2. A tool that ships beside the game. Launchers, patchers, dedicated server executables and crash reporters are often older than the game and built separately.
  3. The engine version itself. Engine releases from the middle of the last decade were built with the 2013 toolchain. Unreal Engine 4 before 4.10 is one example. A game still on such a version, or a re-release of an older game, depends on the 2013 runtime throughout.
  4. The runtime is installed for the wrong architecture. The player has the x64 package and the game, or the one DLL that needs it, is 32-bit.

It never fails on your machine because development PCs collect runtimes: Visual Studio, SDK installers and other games have all installed the 2013 package at some point.

Find which file imports it

Open a Developer Command Prompt for Visual Studio, change to the folder you ship, and list every binary that depends on the 2013 runtime:

for /r %f in (*.exe *.dll) do @(dumpbin /dependents "%f" | findstr /i "msvcr120 msvcp120" >nul && echo %f)

Use %%f if you put that in a batch file. To see the full import list of one file:

dumpbin /dependents MyGame.exe

Without Visual Studio, the open-source Dependencies tool shows the same thing as a tree, so you can see which DLL pulls the runtime in through which other DLL.

One limit to know about: dumpbin reports static imports. The system dialog appears when the executable, or a DLL it links against directly, needs the runtime. A plugin loaded at run time behaves differently. The game starts, the load usually fails without a system dialog, and you get an engine error such as Unity’s DllNotFoundException naming your plugin and not the runtime. The loop above finds both kinds, because it checks every file in the folder.

32-bit and 64-bit copies

The runtime has to be the same architecture as the process that loads it, whichever edition of Windows it runs on. A 32-bit game on 64-bit Windows needs the x86 package. Check what you ship:

dumpbin /headers MyGame.exe | findstr /C:"machine ("

14C machine (x86) is 32-bit and 8664 machine (x64) is 64-bit. The folder names on 64-bit Windows are the reverse of what they suggest: the x64 package installs msvcr120.dll into C:\Windows\System32, and the x86 package installs it into C:\Windows\SysWOW64. A player can have the file in one of them and still see the error. Copying a DLL of the wrong architecture next to the game turns “missing” into error 0xc000007b.

Fix 1: install the 2013 redistributable with the game

Microsoft’s installers are vcredist_x86.exe and vcredist_x64.exe. Ship the one that matches your binaries, or both if you ship both architectures.

Steam

In Steamworks, open Installation > Redistributables, tick the Visual C++ 2013 entry for your architecture, and publish. Steam then installs it the first time the game is launched. Nothing needs to be added to your depot.

Your own installer

Run the package silently as an install step. In Inno Setup:

[Files]
Source: "redist\vcredist_x64.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall

[Run]
Filename: "{tmp}\vcredist_x64.exe"; Parameters: "/install /quiet /norestart"; StatusMsg: "Installing Visual C++ 2013 runtime..."

itch.io

The itch app can install it from an app manifest, a .itch.toml file at the top of the build:

[[prereqs]]
name = "vcredist-2013-x64"

That only helps players who use the app. For browser downloads, put the installer in the zip with a line in the README, or use Fix 2.

Fix 2: ship the DLLs beside the executable

Windows searches the application’s own folder first, so msvcr120.dll and msvcp120.dll placed next to the executable that needs them satisfy the loader with no install step. This is app-local deployment, and it suits zip and itch.io distribution.

Take the files from a licensed source. A Visual Studio 2013 installation has them under VC\redist\x64\Microsoft.VC120.CRT (and x86), and the Visual Studio licence permits licensed users to redistribute those files with their application. Middleware vendors often include the correct runtime DLLs in their SDK for the same purpose, under their own terms. A copy pulled from System32 or a download site comes with no such permission and no guarantee of what it is.

The cost: local copies are never updated by the system installer, so you carry whatever version you shipped. Match the architecture exactly.

Fix 3: replace or rebuild the old dependency

Microsoft lists the 2013 runtime as no longer supported, which makes removing the dependency the durable fix. Ask the vendor for a build made with Visual Studio 2015 or later, rebuild the library yourself if you have the source, or retire the old tool. After that the only runtime your game needs is the 2015 and later package, covered in the guides to VCRUNTIME140.dll, MSVCP140.dll and api-ms-win-crt-runtime-l1-1-0.dll.

What to tell players

  1. Install the Visual C++ 2013 redistributable from Microsoft’s supported downloads page. Install both the x86 and the x64 package, even on 64-bit Windows.
  2. If it says the package is already installed, choose Repair, then restart the PC.
  3. The 2015-2022 package does not include this file. Having it installed is not enough.
  4. Do not download msvcr120.dll from a DLL site and do not copy it into the Windows folder. Those files are often the wrong architecture and sometimes malicious.

How to confirm the fix

Use a Windows install that has never had developer tools on it. A clean virtual machine works, and so does Windows Sandbox on Pro and Enterprise editions, which starts from a fresh image every time. Install the game the way a player would and launch every executable you ship, including the launcher and any server or tool. Before installing, confirm the runtime is absent, or the test proves nothing:

dir C:\Windows\System32\msvcr120.dll C:\Windows\SysWOW64\msvcr120.dll

Keep the dumpbin loop as a build step that prints the runtime each binary needs, so a library update that changes the answer shows up in the build log.

What Bugnet can tell you about it

A game that never starts cannot report itself. The loader stops the process before the first line of your code, so no SDK can file this dialog, Bugnet’s included. Two neighbouring cases are visible. When the 2013 runtime is missing behind a plugin loaded at run time, the game is running when the load fails, and the resulting DllNotFoundException is an ordinary logged exception that Bugnet’s Unity SDK files automatically with the OS version and game version, stacked into one entry however many players hit it. For the dialog itself, publish a known-issue entry on your public tracker titled “MSVCR120.dll is missing” with the four steps above. Players search the exact file name, and the upvotes show how many are waiting on Fix 1.

Frequently asked questions

What is MSVCR120.dll?

It is the C runtime library from Visual C++ 2013, version 12.0. MSVCP120.dll is the matching C++ standard library. Programs built with Visual Studio 2013 need both, and they are installed by the Visual C++ 2013 redistributable from Microsoft.

I installed the Visual C++ 2015-2022 redistributable. Why is MSVCR120.dll still missing?

Because that package is a different runtime. It provides VCRUNTIME140.dll and MSVCP140.dll for programs built with Visual Studio 2015 and later. MSVCR120.dll only comes with the separate Visual C++ 2013 redistributable, which has to be installed as well.

Should players install the x86 or the x64 package?

Both. The runtime must match the architecture of the program, so a 32-bit game on 64-bit Windows needs the x86 package. Installing both 2013 packages covers every case and they do not conflict with each other or with newer runtimes.

How do I find which file in my game needs MSVCR120.dll?

Run dumpbin /dependents on each executable and DLL you ship from a Visual Studio Developer Command Prompt and look for msvcr120.dll or msvcp120.dll in the output. The open-source Dependencies tool shows the same information as a tree.

Can I just put MSVCR120.dll in my game folder?

Yes, if you take it from a Visual Studio 2013 redistributable folder, which the licence allows, and match the architecture of your executable. Windows checks the game folder first. The copy will not receive updates, so replacing the old dependency is the better long-term fix.

The number in the DLL name is the compiler version, and 120 means 2013: before telling a player to install “Visual C++”, read the digits and send them the package that matches.