- Download the source code
- If what you downloaded is a compressed archive, decompress it first, then run Setup.bat (on Windows)
This step downloads and installs a great many dependencies, and the script supports multithreaded downloading, so using multithreaded downloading is recommended. Run the command from a console, for example:
setup.bat --threads=20 - Run GenerateProjectFiles.bat to generate the project files
- Double-click UE4.sln (UE5.sln) to open the project with Visual Studio
- (Important) Set the solution configuration to
Development Editorand the solution platform toWin64 - Right-click the UE4 (UE5) target and select
生成
The compilation method is the same for UE4 and UE5.