Hi all,
Been trying to play with Unreal 5.03 on Ubunty 22
I want to build docker image from my UE5 project (its based off the car sample project)
After few issues with some of the initial setup I have stumbled upon following issue.
During my docker run process I keep getting
Step 4/9 : RUN /home/bm/Car/temp/Engine/Build/BatchFiles/RunUAT.sh BuildCookRun -clientconfig=Development -serverconfig=Development -project=/home/bm/Car/temp/Car.uproject -utf8output -nodebuginfo -allmaps -noP4 -cook -build -stage -prereqs -pak -archive -archivedirectory=/home/bm/Car/temp/dist -platform=Linux
---> Running in 4904c3764d0e
Running AutomationTool...
Fixing inconsistent case in filenames.
Setting up Mono
Setting up bundled DotNet SDK
Start UAT Interactively: ./AutomationTool BuildCookRun -clientconfig=Development -serverconfig=Development -project=/home/bm/Car/temp/Car.uproject -utf8output -nodebuginfo -allmaps -noP4 -cook -build -stage -prereqs -pak -archive -archivedirectory=/home/bm/Car/temp/dist -platform=Linux
Parsing command line: BuildCookRun -clientconfig=Development -serverconfig=Development -project=/home/bm/Car/temp/Car.uproject -utf8output -nodebuginfo -allmaps -noP4 -cook -build -stage -prereqs -pak -archive -archivedirectory=/home/bm/Car/temp/dist -platform=Linux
Log location: /home/ue4/Library/Logs/Unreal Engine/LocalBuildLogs/Log.txt
Setting up ProjectParams for /home/bm/Car/temp/Car.uproject
Car.uproject requires a temporary target.cs to be generated (ChaosVehiclesPlugin plugin is enabled)
ERROR: Multiple game targets found for project. Specify the desired target using the -Target=... argument.
Could be "UnrealGame" (/home/bm/Car/temp/Engine/Source/UnrealGame.Target.cs)
Could be "Car" (/home/bm/Car/temp/Intermediate/Source/Car.Target.cs or /home/bm/Car/temp/Intermediate/Source/Car.Target.cs)
(see /home/ue4/Library/Logs/Unreal Engine/LocalBuildLogs/Log.txt for full exception trace)
AutomationTool executed for 0h 0m 5s
AutomationTool exiting with ExitCode=1 (Error_Unknown)
RunUAT ERROR: AutomationTool was unable to run successfully. Exited with code: 1
The command '/bin/sh -c /home/bm/Car/temp/Engine/Build/BatchFiles/RunUAT.sh BuildCookRun -clientconfig=Development -serverconfig=Development -project=/home/bm/Car/temp/Car.uproject -utf8output -nodebuginfo -allmaps -noP4 -cook -build -stage -prereqs -pak -archive -archivedirectory=/home/bm/Car/temp/dist -platform=Linux' returned a non-zero code: 1
think the issue is that I have 2 unreal projects in a same folder.
I only want to turn car project into image, therefore
RUN /home/bm/Car/temp/Engine/Build/BatchFiles/RunUAT.sh \
BuildCookRun \
-clientconfig=Development \
-serverconfig=Development \
-project=/home/bm/Car/temp/Car.uproject \
-utf8output -nodebuginfo -allmaps -noP4 -cook -build -stage -prereqs -pak -archive \
-archivedirectory=/home/bm/Car/temp/dist \
-target=/home/bm/Car/temp/Intermediate/Source/Car.Target.cs \
-platform=Linux
didnt work, so trying with target=car