Building Unreal Engine from Source
Read about Hardware and Software Specifications, and make sure that Microsoft Visual Studio is installed prior to building Unreal Engine (UE) from source. Also, depending on your system's specifications, it may take between 10 and 40 minutes to compile the Engine.
-
Inside the root directory, where you downloaded and adjusted the UE Source Code run
GenerateProjectFiles.bat
to set-up your project files.All project files are intermediate (
[UERoot]\Engine\Intermediate\ProjectFiles
). You must generate project files each time you sync a new build to ensure they are up to date. If you delete yourIntermediate
folder, you must regenerate project files using theGenerateProjectFiles
batch file. -
Load the project into Visual Studio by double-clicking
UE5.sln
. -
Set your solution configuration to Development Editor.
-
Set your solution platform to Win64.
-
Right-click the UE5 target and select Build.
Read about Hardware and Software Specifications, and make sure that XCode is installed prior to building Unreal Engine (UE) from source. Also, depending on your system's specifications, it may take between 10 and 40 minutes to compile the Engine.
-
Inside the root directory, run
GenerateProjectFiles.command
to set up your project files. -
Load the project into XCode by double-clicking
UE5.xcodeproj
. -
To set your build target, select UnrealEditor - Mac for My Mac in the title bar.
-
To build the project, select Product > Build.
Unreal Engine (UE) development and support teams currently use the latest version of Ubuntu; as a result, we may not be able to provide support for other Linux distributions (including other versions of Ubuntu). Additionally, read about Hardware and Software Specifications, and make sure your system has at least one hundred (100) gigabytes of disk space before performing the following steps.
-
Inside the root directory, run
Setup.sh
from the terminal to setup the files needed to generate the project files. -
Now, run
GenerateProjectFiles.sh
from the terminal to generate your project files. -
To build the project, run make from the terminal.
Depending on your system's specifications, it may take anywhere from ten minutes to over an hour to compile the Engine. If you want to shorten the time it takes to compile the Engine from source, we recommend compiling the source code on a machine that has at least eight (8) gigabytes of RAM, with a multi-core processor having at least eight (8) cores (including hyperthreading).
Running the Editor
-
Set your startup project by right-clicking the UE5 target and selecting Set as StartUp Project.
-
Right-click the UE5 project, then select Debug > Start New Instance to launch the Editor.
Alternatively, you can press the F5 key on your keyboard to start a new instance of the Editor.
-
Congratulations! You've compiled and launched the Engine from source.
-
Select Product > Run to launch the Editor.
-
Congratulations! You've compiled and launched the Engine from source.
-
Navigate to the Editor's binary path by entering
cd Engine/Binaries/Linux/
into the terminal. -
Run UnrealEditor to launch the editor.
-
Congratulations! You've compiled and launched the Engine from source.
Getting Started with Unreal Engine
Learn how to use Unreal Engine by referring to the Understanding the Basics documentation!
If you're looking to quickly get started with UE, refer to the following tutorials:
UE's in-editor help features are a great way to get your questions answered.