I cannot package any project using File > Package Project > Linux. I tried packaging CARLA first and then got the same result with the FPS template project. This is the log:
UATHelper: Packaging (Linux): Running AutomationTool...
UATHelper: Packaging (Linux): Fixing inconsistent case in filenames.
UATHelper: Packaging (Linux): Setting up Mono
UATHelper: Packaging (Linux): xbuild Source/Programs/AutomationTool/AutomationTool.csproj /p:Configuration=Development /p:Platform=AnyCPU /verbosity:quiet /nologo /p:NoWarn=1591 /property:AutomationToolProjectOnly=true /p:TargetFrameworkProfile=
UATHelper: Packaging (Linux): Start UAT: mono AutomationTool.exe -ScriptsForProject=/home/hostxl/Documents/Unreal Projects/BL2/BL2.uproject BuildCookRun -nocompileeditor -nop4 -project=/home/hostxl/Documents/Unreal Projects/BL2/BL2.uproject -cook -stage -archive -archivedirectory=/home/hostxl/Documents/Unreal Projects/BL2/ -package -ue4exe=/home/hostxl/part/
UnrealEngine/Engine/Binaries/Linux/UE4Editor -pak -prereqs -nodebuginfo -targetplatform=Linux -build -clientconfig=Debug -utf8output
UATHelper: Packaging (Linux): Parsing command line: -ScriptsForProject="/home/hostxl/Documents/Unreal Projects/BL2/BL2.uproject" BuildCookRun -nocompileeditor -nop4 -project="/home/hostxl/Documents/Unreal Projects/BL2/BL2.uproject" -cook -stage -archive -archivedirectory="/home/hostxl/Documents/Unreal Projects/BL2/" -package -ue4exe=/home/hostxl/part/UnrealE
ngine/Engine/Binaries/Linux/UE4Editor -pak -prereqs -nodebuginfo -targetplatform=Linux -build -clientconfig=Debug -utf8output -compile
UATHelper: Packaging (Linux): Dependencies are up to date. Skipping compile.
UATHelper: Packaging (Linux): Setting up ProjectParams for /home/hostxl/Documents/Unreal Projects/BL2/BL2.uproject
UATHelper: Packaging (Linux): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Linux): Running: mono "/home/hostxl/part/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe" UnrealPak Linux Development -NoUBTMakefiles -Manifest=/home/hostxl/part/UnrealEngine/Engine/Intermediate/Build/Manifest.xml -NoHotReload -log="/home/hostxl/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-UnrealPak-Linux-Development.txt"
UATHelper: Packaging (Linux):
UATHelper: Packaging (Linux): Unhandled Exception:
UATHelper: Packaging (Linux): System.TypeInitializationException: The type initializer for 'UnrealBuildTool.UnrealBuildTool' threw an exception. ---> System.ArgumentException: Path cannot be the empty string or all whitespace.
UATHelper: Packaging (Linux): Parameter name: path2
UATHelper: Packaging (Linux): at System.IO.Path.InternalCombine (System.String path1, System.String path2) [0x0003b] in <98fac219bd4e453693d76fda7bd96ab0>:0
UATHelper: Packaging (Linux): at System.IO.FileSystemEnumerableIterator`1[TSource].CreateSearchResult (System.IO.Directory+SearchData localSearchData, Microsoft.Win32.Win32Native+WIN32_FIND_DATA findData) [0x00000] in <98fac219bd4e453693d76fda7bd96ab0>:0
UATHelper: Packaging (Linux): at System.IO.FileSystemEnumerableIterator`1[TSource].MoveNext () [0x001aa] in <98fac219bd4e453693d76fda7bd96ab0>:0
UATHelper: Packaging (Linux): at System.IO.DirectoryInfo+d__39.MoveNext () [0x0007a] in <98fac219bd4e453693d76fda7bd96ab0>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.DirectoryUtils.FindCorrectCase (System.IO.DirectoryInfo Info) [0x0009f] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.DirectoryUtils.FindCorrectCase (System.IO.DirectoryInfo Info) [0x00063] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.DirectoryUtils.FindCorrectCase (System.IO.DirectoryInfo Info) [0x00063] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.DirectoryUtils.FindCorrectCase (System.IO.DirectoryInfo Info) [0x00063] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.DirectoryUtils.FindCorrectCase (System.IO.DirectoryInfo Info) [0x00063] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.FileUtils.FindCorrectCase (System.IO.FileInfo Info) [0x00006] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.FileReference.FindCorrectCase (Tools.DotNETCommon.FileReference Location) [0x00006] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at UnrealBuildTool.UnrealBuildTool..cctor () [0x0000f] in <3b003356ac324711af640b6e00f65f1b>:0
UATHelper: Packaging (Linux): --- End of inner exception stack trace ---
UATHelper: Packaging (Linux): [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'UnrealBuildTool.UnrealBuildTool' threw an exception. ---> System.ArgumentException: Path cannot be the empty string or all whitespace.
UATHelper: Packaging (Linux): Parameter name: path2
UATHelper: Packaging (Linux): at System.IO.Path.InternalCombine (System.String path1, System.String path2) [0x0003b] in <98fac219bd4e453693d76fda7bd96ab0>:0
UATHelper: Packaging (Linux): at System.IO.FileSystemEnumerableIterator`1[TSource].CreateSearchResult (System.IO.Directory+SearchData localSearchData, Microsoft.Win32.Win32Native+WIN32_FIND_DATA findData) [0x00000] in <98fac219bd4e453693d76fda7bd96ab0>:0
UATHelper: Packaging (Linux): at System.IO.FileSystemEnumerableIterator`1[TSource].MoveNext () [0x001aa] in <98fac219bd4e453693d76fda7bd96ab0>:0
UATHelper: Packaging (Linux): at System.IO.DirectoryInfo+d__39.MoveNext () [0x0007a] in <98fac219bd4e453693d76fda7bd96ab0>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.DirectoryUtils.FindCorrectCase (System.IO.DirectoryInfo Info) [0x0009f] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.DirectoryUtils.FindCorrectCase (System.IO.DirectoryInfo Info) [0x00063] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.DirectoryUtils.FindCorrectCase (System.IO.DirectoryInfo Info) [0x00063] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.DirectoryUtils.FindCorrectCase (System.IO.DirectoryInfo Info) [0x00063] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.DirectoryUtils.FindCorrectCase (System.IO.DirectoryInfo Info) [0x00063] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.FileUtils.FindCorrectCase (System.IO.FileInfo Info) [0x00006] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at Tools.DotNETCommon.FileReference.FindCorrectCase (Tools.DotNETCommon.FileReference Location) [0x00006] in <80756b6e556244769829da70ad493f26>:0
UATHelper: Packaging (Linux): at UnrealBuildTool.UnrealBuildTool..cctor () [0x0000f] in <3b003356ac324711af640b6e00f65f1b>:0
UATHelper: Packaging (Linux): --- End of inner exception stack trace ---
UATHelper: Packaging (Linux): Took 0.7458s to run mono, ExitCode=1
UATHelper: Packaging (Linux): UnrealBuildTool failed. See log for more details. (/home/hostxl/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-UnrealPak-Linux-Development.txt)
UATHelper: Packaging (Linux): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Linux): RunUAT ERROR: AutomationTool was unable to run successfully.
PackagingResults: Error: AutomationTool was unable to run successfully.
PackagingResults: Error: Unknown Error
Unreal Version: 4.24.3-0+++UE4+Release-4.24
OS: Ubuntu 16.04
the error seems to be on line 15. I can change to another build if there’s a stable one known.