Skip to content

Instantly share code, notes, and snippets.

@coopbri
Last active July 15, 2025 18:50
Show Gist options
  • Save coopbri/0b25c42369468a9bde8f2284c9d4157a to your computer and use it in GitHub Desktop.
Save coopbri/0b25c42369468a9bde8f2284c9d4157a 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
@RokeJulianLockhart
Copy link

DOTNET_SYSTEM_GLOBALIZATION_INVARIANT doesn't appear to be required with dotnet 9.0.107.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment