Install Visual Studio Tools for Unreal Engine

This article helps you install Visual Studio Tools for Unreal Engine. These tools allow you to do the following from within Visual Studio:

  • view Unreal Engine (UE) Blueprints
  • add UE classes
  • view UE logging
  • view and expand UE macros

Prerequisites

You should have the following installed before you install Visual Studio Tools for Unreal Engine:

Install Visual Studio Tools for Unreal Engine

This article covers installing two tools for connecting Visual Studio and Unreal Engine:

  • Visual Studio Tools for Unreal Engine are installed with the Visual Studio installer. They enable you to add UE classes, view UE logging, and more, all from within Visual Studio.
  • Unreal Engine Visual Studio Integration Tool plugin is installed in Unreal Engine and works with Visual Studio to display information about Blueprint assets in C++ code.

To install Visual Studio Tools for Unreal Engine, follow these steps:

  1. Type "Visual Studio Installer" in the Windows search box.

  2. Look for the installer under the Apps results and double-click it.

  3. When the installer appears, select the version of Visual Studio you are using (if you have multiple versions installed) and then select Modify.

  4. Select the Workloads tab, then select the Game development with C++ workload.

  5. In the Installations details pane, ensure that under Game development with C++ > Optional that IDE support for Unreal Engine is selected. This installs what this article refers to as the Visual Studio Tools for Unreal Engine. If you work with the High-Level Shader Language, ensure that HLSL Tools is also selected.

  6. Select the Individual components tab at the top of the dialog.

  7. Under Installation details, expand Desktop development with C++.

  8. Ensure that under Optional that Windows 10 SDK 10.0.18362.0, or higher, is selected.

  9. Select Modify to complete the installation.

    Screenshot of the game development with C++ workload selected in the installer. In the installation details pane, IDE support for Unreal Engine and HLSL Tools are checked.

Configure Unreal Engine to use Visual Studio

Epic Games provides the UnrealVS extension for Visual Studio. The extension makes it easier to build UE projects, set command line arguments, batch build projects, and so on. You don't need to install this plugin to use Visual Studio Tools for Unreal Engine, but it does provide some convenience features. For more information, see UnrealVS Extension.

Install the Unreal Engine Visual Studio Integration Tool plugin via the Unreal Engine Marketplace website. It allows you to see Blueprints assets in Visual Studio. The Unreal Engine Marketplace provides instructions for installing the plugin.

Screenshot of the Unreal Engine Marketplace with the Visual Studio Integration Tool plugin.

If your engine code is built from source or if your project isn't compatible with Unreal Engine Marketplace plugins, install the plugin manually by cloning and installing the plugin from the GitHub vc-ue-extensions repo. See the README in the repo for instructions to install the plugin. If you have difficulty with the UE plugin, see the Troubleshooting guide

For more information about customizations you can make to the Visual Studio IDE to work well with Unreal Engine, see the Recommended Settings section at Setting Up Visual Studio for Unreal Engine.

Check for updates

We recommend that you keep Visual Studio updated for the latest bug fixes, features, and Unreal Engine support. Updating Visual Studio doesn't require an update of Unreal Engine.

  1. From the Visual Studio main menu, select Help > Check for Updates.

    Screenshot of the Check for Updates menu in Visual Studio Help menu.

  2. If an update is available, the Visual Studio Installer shows a new version. Select Update.

    Screenshot of Visual Studio Installer with the Updates.

Next steps

Try out some of the features of the Visual Studio Tools for Unreal Engine: Quickstart: Use Visual Studio Tools for Unreal Engine