Skip to main content
Installation

Source Builds

How to install the Off World Live Toolkit in an Unreal Engine you built from source, and how to fix modular build failures.

Last updated About 5 hours ago

Installation

  1. Build your engine.

  2. Open any plugin folder inside /Engine/Plugins, for example Engine\Plugins\Runtime\ActorLayerUtilities:

  3. In that plugin folder, go to Binaries/Win64/UnrealEditor.modules:

  4. Open UnrealEditor.modules in a text editor such as Notepad:

  5. Copy the line that starts with BuildId, for example "BuildId": "e3b09bf6-25f4-43d8-8fb2-dd2cde67fefe":

  6. Open the Toolkit folder in your engine's plugins folder and go to Binaries/Win64/UnrealEditor.modules:

  7. Open that UnrealEditor.modules file in a text editor and replace the line that starts with BuildId with the one you copied in step 5:

  8. Open your engine and you should see the Off World Live icon in the editor as normal:

    The Unreal Editor toolbar with the Off World Live menu

Modular Build Fails

A modular build compiles each module into its own DLL (common for the editor and development builds). If it says modules are missing or were built with a different engine version, the usual causes are:

  • A different compiler version. Unreal's intermediate files (.obj, .pch) only work with the Visual Studio compiler version that made them. If they were made with one version (for example 14.38) and you link them with another (for example 14.44), the build fails.

  • Modular and monolithic builds read different files. A monolithic build (common for a final shipping game) puts everything in one program. A modular build relies on UnrealEditor.modules and UnrealGame.modules to find each module's DLL.

  • Missing DLLs. If UnrealGame.modules exists but points to DLLs that aren't in your Binaries/Win64 folder, those files were never made, usually because an earlier build stopped or failed on a compiler mismatch.

Work through the next three sections in order.

Match Your Compiler Version

  • Your PC and any build machines must use exactly the same MSVC compiler version that made the engine's intermediate files. For example: compiler toolchain MSVC v143 - VS 2022 C++ (v14.38.33130); Windows SDK 10.0.22621.0.

  • To see which compiler Unreal uses, build your project and look in the build output for the line that starts Using Visual Studio 2022, for example Using Visual Studio 2022 14.38.33145 toolchain.

  • To see Visual Studio's default compiler, open the Developer Command Prompt for VS 2022 and run cl with no options. The first line shows the compiler version: 19.38 means MSVC 14.38.

    Developer Command Prompt for VS 2022 after running cl, showing Compiler Version 19.38
  • If the versions don't match, don't simply update to the latest. Install the version you need:

    1. Open Visual Studio Installer.

    2. Click Modify on your VS 2022 install.

    3. Go to the Individual Components tab.

    4. Search for the MSVC version you need, for example MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8).

      Visual Studio Installer Individual components searched for 14.38, with MSVC v143 x64/x86 build tools v14.38 checked
    5. Install it, and make sure no older or newer version is used in its place.

Clean and Regenerate Project Files

Once the compilers match, clear out the intermediate files made with the wrong one:

  1. Delete the Binaries, Intermediate and DerivedDataCache folders in your project folder (not in the Toolkit folder).

  2. Right-click your .uproject file and choose Generate Visual Studio project files.

    Right-click menu on a .uproject file with Generate Visual Studio project files

Rebuild the Game Target

UnrealGame.modules is often only made while packaging, so build the game target yourself:

  1. Open your .sln in Visual Studio.

  2. Set the solution configuration to Development for the game (or Development Editor to test in the editor).

    Visual Studio Solution Configurations list with Development and Development Editor
  3. Right-click your project in the Solution Explorer and choose Rebuild.

    Solution Explorer right-click menu on the game project with Rebuild
  4. Check that DLLs now appear in Binaries/Win64 and that UnrealGame.modules lists them.

Check Before You Build Again

  • Compiler match: your PC and any build machine use the same MSVC version.

  • Clean start: your project's Intermediate and Binaries folders were deleted before the new build (not the Toolkit's).

  • Modular check: if you build modularly, the .modules file names the DLLs that are actually in the folder.

Engine Forks Supplied as a Zip

  • If someone gave you a zip of an engine fork, check whether they meant it for a monolithic build. If they only supplied intermediate files for monolithic builds, you can't build modularly without recompiling the whole engine from source.

  • To go from modular back to monolithic linkage, add BuildEnvironment = TargetBuildEnvironment.Shared; to your game's Target.cs file. Also add bOverrideBuildEnvironment = true; if the project complains about bUseLoggingInShipping.