How to setup unreal engine 5.3.2 on NixOS, and fix compile failures from Setup.sh: required file not found

https://discourse.nixos.org/t/ue-compile-failures-on-latest-nix/29267/6?u=yanall-boutros

18 points · 2 comments · view on lemmy.world

2 Comments

sturgax@sh.itjust.works · 3 pts · 2y (1 reply)

Yeah, this is nice. I have been going nuts trying to get this going.

Thanks

yboutros@infosec.pub · 2 pts · 2y

you're welcome, if you're like me and also trying to make a C++ project without Visual Studio, this got me to build the blank C++ project without visual studio. For some reason, I had to run it twice to get everything compiled/built/cooked and for unreal editor to open the project.

Inside this folder: Engine/Build/BatchFiles/

steam-run ./RunUAT.sh BuildCookRun -project=/home/absolute_folder_path_location/Documents/Unreal\ Projects/VRTest/VRTest.uproject -noP4 -platform=Linux -build -cook -compile

I'm sure there's a lot of options in RunUAT I'm forgetting that VisualStudio is a wrapper for, but this and BuildProjectFiles.sh or whatever it's called seems to be the heavy lifters that visual studio leverages