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
Build your engine.
Open any plugin folder inside
/Engine/Plugins, for exampleEngine\Plugins\Runtime\ActorLayerUtilities:
In that plugin folder, go to
Binaries/Win64/UnrealEditor.modules:
Open
UnrealEditor.modulesin a text editor such as Notepad:
Copy the line that starts with
BuildId, for example"BuildId": "e3b09bf6-25f4-43d8-8fb2-dd2cde67fefe":
Open the Toolkit folder in your engine's plugins folder and go to
Binaries/Win64/UnrealEditor.modules:
Open that
UnrealEditor.modulesfile in a text editor and replace the line that starts withBuildIdwith the one you copied in step 5:
Open your engine and you should see the Off World Live icon in the editor as normal:

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 example14.38) and you link them with another (for example14.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.modulesandUnrealGame.modulesto find each module's DLL.Missing DLLs. If
UnrealGame.modulesexists but points to DLLs that aren't in yourBinaries/Win64folder, 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 exampleUsing Visual Studio 2022 14.38.33145 toolchain.To see Visual Studio's default compiler, open the
Developer Command Prompt for VS 2022and runclwith no options. The first line shows the compiler version:19.38means MSVC14.38.
If the versions don't match, don't simply update to the latest. Install the version you need:
Open
Visual Studio Installer.Click
Modifyon your VS 2022 install.Go to the
Individual Componentstab.Search for the MSVC version you need, for example
MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8).
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:
Delete the
Binaries,IntermediateandDerivedDataCachefolders in your project folder (not in the Toolkit folder).Right-click your
.uprojectfile and chooseGenerate Visual Studio project files.
Rebuild the Game Target
UnrealGame.modules is often only made while packaging, so build the game target yourself:
Open your
.slnin Visual Studio.Set the solution configuration to
Developmentfor the game (orDevelopment Editorto test in the editor).
Right-click your project in the
Solution Explorerand chooseRebuild.
Check that DLLs now appear in
Binaries/Win64and thatUnrealGame.moduleslists them.
Check Before You Build Again
Compiler match: your PC and any build machine use the same MSVC version.
Clean start: your project's
IntermediateandBinariesfolders were deleted before the new build (not the Toolkit's).Modular check: if you build modularly, the
.modulesfile 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'sTarget.csfile. Also addbOverrideBuildEnvironment = true;if the project complains aboutbUseLoggingInShipping.