Skip to content

Instantly share code, notes, and snippets.

@Akheon23
Forked from coopbri/build-ue5-linux.md
Created March 1, 2024 07:28
Show Gist options
  • Save Akheon23/4f2f73a2e2c17dcf536ab865210e5b81 to your computer and use it in GitHub Desktop.
Save Akheon23/4f2f73a2e2c17dcf536ab865210e5b81 to your computer and use it in GitHub Desktop.
Build Unreal Engine 5 on Linux
  1. Clone repo (or sync with git pull if already cloned):
git clone https://github.com/EpicGames/UnrealEngine
  1. Run setup script:
./Setup.sh
  1. Run project file generation script:
./GenerateProjectFiles.sh

If you get the error

Setting up bundled DotNet SDK
Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
...
GenerateProjectFiles ERROR: Failed to build UnrealBuildTool

try setting environment variable DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1, or installing ICU v50 (courtesy of @debian-user-france1).

  1. Finally, run the build:
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment