Linux VPS Ubuntu 24.04 GenerateProjectFiles.sh failure

ZyLogic
Mon, 20 Jan 2025 15:58:30 +0000
Getting Started & Setup

Hey there,

I’ve been using UE on Windows for close to 10 years now, but this is the first time trying to get it running on Linux for version control server purpose.
I have a custom version of Unreal Engine source on a Linux VPS running Ubuntu 24.04, and going through the setup process.

I have ran the Setup.sh shell script and this finishes successfully, but when I run GenerateProjectFiles.sh, the process always fails with the following error messsage:

Attempting to set up UE pretty printers for gdb (existing UEPrinters.py, if any, will be overwritten)...
        updated UEPrinters.py
        found necessary entries in ~/.gdbinit file, not changing it.

Setting up Unreal Engine project files...

Setting up bundled DotNet SDK
find: ‘../Restricted/**/Source/Programs/Shared’: No such file or directory
find: ‘../Platforms/*/Source/Programs/Shared’: No such file or directory
find: ‘../Restricted/**/Source/Programs/UnrealBuildTool’: No such file or directory
UnrealBuildTool.dll is up to date
Unhandled exception: System.TypeInitializationException: The type initializer for 'UnrealBuildBase.Unreal' threw an exception.
 ---> System.Exception: Expected file "Engine/Build/Build.version" was not found at /var/lib/jenkins/workspace/UE_Source/Engine/Build/Build.version
   at UnrealBuildBase.Unreal.FindRootDirectory() in /var/lib/jenkins/workspace/UE_SOURCE/Engine/Source/Programs/Shared/EpicGames.Build/Unreal.cs:line 69
   at UnrealBuildBase.Unreal..cctor() in /var/lib/jenkins/workspace/UE_SOURCE/Engine/Source/Programs/Shared/EpicGames.Build/Unreal.cs:line 135
   --- End of inner exception stack trace ---
   at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in /var/lib/jenkins/workspace/UE_SOURCE/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.cs:line 492

I can confirm that the files specified above definitely exist, and they exist in the directories above (eventhough the process says they are not found or don’t exist)

Some additional info:

DotNET 9.0 installed

clang version 18.1.3 installed

Anyone have any ideas?

Thanks in advance!

2 posts - 1 participant