Building Unreal Tools Framework
Requirements to build Unreal Tools Framework
- Git LFS. If installed after cloning the repository, run
git lfs fetchcommand in the root repository folder and the root folders of any git submodules. - Visual Studio 2022
- Azure Command Line Interface
- You may need to use a command prompt with Administrator rights.
Nuke
The build folder contains a Nuke project with all the steps needed to:
- Clean
- Download engine binaries from universal packages.
- Create symlinks to build directory structure needed by the engine.
- Generate project files
- Build UnrealToolsFrameworkTests blank game, with UnrealToolsFramework (and Bifrost) as dependencies.
Configuring your machine to build Unreal Tools Framework
Important notes:
- You may need to use a command prompt with elevated rights.
- You may have issues fetching Unreal dependencies if you use a checkout directory that is too long
The Unreal Engine binaries are stored as a universal package and downloaded via Nuke during the build process. You will need to configure your PC using Azure CLI to download from project artifacts.
- Download and install Azure CLI
- Install Azure DevOps extension:
az extension add -n azure-devops - Create a Personal Access Token with Packaging/Read permissions.
- Login
- Run
az login - In some cases you may need to pass the Azure DevOps organization:
az devops login --organization https://dev.azure.com/xboxstudios/
- Run
- The
Microsoft.XboxStudios.NukeExtNuGet package must be installed. Install the Azure artifacts credential provider if needed and then rundotnet restore --interactive build.
Building Unreal Tools Framework with Nuke
Building the C++ portion of the UnrealToolkit will generate a small sample Unreal game called UTFTests with the UTK installed as a game level plugin. This solution can be found under cpp/tests/UTFTests.
UnrealToolkit's Nuke project supports building UTFTests in the following build configurations:
| Unreal Configuration | Nuke Build Target |
|---|---|
| Development Editor | CompileCPP |
| DebugGame Editor | CompileCPPDebug |
| Shipping | CompileCPPShipping |
Unreal Engine's 'Test' configuration is not available for compilation because our build process uses precompiled Unreal Engine binaries instead of the raw code.
By default, the CI/CD pipeline for the UTK will only compile Development Editor configuration. If you are modifying the UTK C++ code, please run all Nuke targets described above to ensure your changes compile appropriately.
To build the sample game, follow these steps:
- Open an Administrator terminal in the root of your local UnrealToolkit repo folder.
- Run one of the build scripts with any of the Nuke targets in the above table as an argument from the root folder in the repository.
- Example:
.\build.cmd CompileCPP. - Example:
.\build.cmd CompileCPPShipping.
- Example:
- This will generate the
UTFTestssample game with the UTK installed as a game level plugin.
This page was last modified on May 19 2025, 05:07 PM (UTC).