Cannot run packed project on Linux / Cross compiling problem

Hi,
First of all word of warning: I don’t know anything about Linux :P.

I’ve got request to port my game to Linux. So I tried to use cross compiling tools to pack project.
When compiling Linux engine I’ve got weird errors like :

138354-linuxue4biuld.jpg

I’ve got around it by trying to build and run(F5) instead of build(Shift+Ctrl+B). Probably bad idea although, engine packed game for Linux after this :P. But I can’t get it running on Ubuntu 16.04.

Then I tried to build UE4 editor on Linux, everything went well. I’ve packed some test First-person template. But still it wont run =/.

Any suggestions what is wrong with my UE4 or Linux build? ( GPU drivers should be fine I’ve successfully run Ark:Survival Evolved )

spec:
Win 7 SP1 / Ubuntu 16.04

UE4 14.3

i7-4790

32GB RAM

GTX 970


This is what Linux terminal is graving me when i try to run packed project.

graf@graf-All-Series:~/Desktop/TestZLinux/LinuxNoEditor/Engine/Binaries/Linux$ '/home/graf/Desktop/TestZLinux/LinuxNoEditor/Engine/Binaries/Linux/UE4Game' 
Using binned.
Increasing per-process limit of core file size to infinity.
LogInit:Display: Running engine for game: UE4Game
LogPlatformFile: Using cached  wrapper
LogInit:Display: RandInit(-231946309) SRandInit(-231946309).
LogTaskGraph: Started task graph with 5 named threads and 8 total threads with 1 sets of task threads.
LogStats: Stats thread started at 0.007707
LogModuleManager:Warning: ModuleManager: Module 'XMPP' not found - its StaticallyLinkedModuleInitializers function is null.
LogInit: Using libcurl 7.46.0
LogInit:  - built for x86_64-pc-linux-gnu
LogInit:  - supports SSL with OpenSSL/1.0.2d
LogInit:  - supports HTTP deflate (compression) using libz 1.2.8
LogInit:  - other features:
LogInit:      CURL_VERSION_SSL
LogInit:      CURL_VERSION_LIBZ
LogInit:      CURL_VERSION_IPV6
LogInit:      CURL_VERSION_ASYNCHDNS
LogInit:      CURL_VERSION_LARGEFILE
LogInit:      CURL_VERSION_TLSAUTH_SRP
LogInit:  Libcurl: checking if '/etc/pki/tls/certs/ca-bundle.crt' exists
LogInit:  Libcurl: checking if '/etc/ssl/certs/ca-certificates.crt' exists
LogInit:  CurlRequestOptions (configurable via config and command line):
LogInit:  - bVerifyPeer = true  - Libcurl will verify peer certificate
LogInit:  - bUseHttpProxy = false  - Libcurl will NOT use HTTP proxy
LogInit:  - bDontReuseConnections = false  - Libcurl will reuse connections
LogInit:  - CertBundlePath = /etc/ssl/certs/ca-certificates.crt  - Libcurl will set CURLOPT_CAINFO to it
LogInit: Build: ++UE4+Release-4.14-CL-0
LogInit: Engine Version: 4.14.3-0+++UE4+Release-4.14
LogInit: Compatible Engine Version: 4.14.0-0+++UE4+Release-4.14
LogInit: Net CL: 0
LogDevObjectVersion: Number of dev versions registered: 13
LogDevObjectVersion:   Dev-Blueprints (B0D832E4-1F89-4F0D-ACCF-7EB736FD4AA2): 7
LogDevObjectVersion:   Dev-Build (E1C64328-A22C-4D53-A36C-8E866417BD8C): 0
LogDevObjectVersion:   Dev-Core (375EC13C-06E4-48FB-B500-84F0262A717E): 1
LogDevObjectVersion:   Dev-Editor (E4B068ED-F494-42E9-A231-DA0B2E46BB41): 8
LogDevObjectVersion:   Dev-Framework (CFFC743F-43B0-4480-9391-14DF171D2073): 17
LogDevObjectVersion:   Dev-Mobile (B02B49B5-BB20-44E9-A304-32B752E40360): 0
LogDevObjectVersion:   Dev-Networking (A4E4105C-59A1-49B5-A7C5-40C4547EDFEE): 0
LogDevObjectVersion:   Dev-Online (39C831C9-5AE6-47DC-9A44-9C173E1C8E7C): 0
LogDevObjectVersion:   Dev-Physics (78F01B33-EBEA-4F98-B9B4-84EACCB95AA2): 0
LogDevObjectVersion:   Dev-Platform (6631380F-2D4D-43E0-8009-CF276956A95A): 0
LogDevObjectVersion:   Dev-Rendering (12F88B9F-8875-4AFC-A67C-D90C383ABD29): 12
LogDevObjectVersion:   Dev-Sequencer (7B5AE74C-D270-4C10-A958-57980B212A5A): 1
LogDevObjectVersion:   Dev-VR (D7296918-1DD6-4BDD-9DE2-64A83CC13884): 0
LogInit: Compiled (64-bit): May 18 2017 10:16:04
LogInit: Compiled with Clang: 3.8.0 (tags/RELEASE_380/final)
LogInit: Build Configuration: Development
LogInit: Branch Name: ++UE4+Release-4.14
LogInit: Command line: 
LogInit: Base directory: /home/graf/Desktop/TestZLinux/LinuxNoEditor/Engine/Binaries/Linux/
LogInit: Installed Engine Build: 0
LogInit: Presizing for max 2097152 objects, including 0 objects not considered by GC, pre-allocating 0 bytes for permanent pool.
LogInit: Object subsystem initialized
LogInit: Initializing SDL.
LogInit: Initialized SDL 2.0.4 revision: 10374 (hg-10374:dccf51aee79b with EpicExtensions) (compiled against 2.0.4)
LogInit: Display metrics:
LogInit:   PrimaryDisplayWidth: 1920
LogInit:   PrimaryDisplayHeight: 1080
LogInit:   PrimaryDisplayWorkAreaRect:
LogInit:     Left=57, Top=21, Right=1920, Bottom=1080
LogInit:   VirtualDisplayRect:
LogInit:     Left=57, Top=21, Right=1920, Bottom=1080
LogInit:   TitleSafePaddingSize: X=0.000 Y=0.000
LogInit:   ActionSafePaddingSize: X=0.000 Y=0.000
LogInit:   Number of monitors: 1
LogInit:     Monitor 0
LogInit:       Name: S24D590 24"
LogInit:       ID: display0
LogInit:       NativeWidth: 1920
LogInit:       NativeHeight: 1080
LogInit:       bIsPrimary: true
Assertion failed: ResolutionValueStrings.Num() > 0 [File:/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Engine/Private/Scalability.cpp] [Line: 354] 
[Callstack]  00  0x0000000001f9cd8f  FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformStackWalk.cpp, line 945]
[Callstack]  01  0x0000000001eb4545  FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformStackWalk.cpp, line 146]
[Callstack]  02  0x0000000001f89764  Unknown [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformCrashContext.cpp, line 60]
[Callstack]  03  0x0000000001fbae77  FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, ...) [Runtime/Core/Public/Containers/ContainerAllocationPolicies.h, line 342]
[Callstack]  04  0x00000000044917b9  Unknown [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Engine/Private/Scalability.cpp, line 354]
[Callstack]  05  0x000000000449320b  Unknown [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Engine/Private/Scalability.cpp, line 585]
[Callstack]  06  0x0000000001e6df98  FEngineLoop::PreInit(wchar_t const*) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp, line 1300]
[Callstack]  07  0x0000000001e7a018  GuardedMain(wchar_t const*) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Launch/Private/Launch.cpp, line 28]
[Callstack]  08  0x0000000004f6e233  CommonLinuxMain(int, char**, int (*)(wchar_t const*)) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Linux/LinuxCommonStartup/Private/LinuxCommonStartup.cpp, line 231]
[Callstack]  09  0x00007f794ccea830  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f794ccea830]
[Callstack]  10  0x0000000001e6bf19  /home/graf/Desktop/TestZLinux/LinuxNoEditor/Engine/Binaries/Linux/UE4Game(_start+0x29) [0x1e6bf19]

[2017.05.18-09.15.53:991][  0]LogLinux:Error: appError called: Assertion failed: Assertion failed: ResolutionValueStrings.Num() > 0 [File:/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Engine/Private/Scalability.cpp] [Line: 354] 


Signal 11 caught.
Malloc Size=131076 LargeMemoryPoolOffset=131092 
CommonLinuxCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=196655 
[2017.05.18-09.15.54:302][  0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003

[2017.05.18-09.15.54:303][  0]LogLinux: Assertion failed: Assertion failed: ResolutionValueStrings.Num() > 0 [File:/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Engine/Private/Scalability.cpp] [Line: 354] 



[Callstack]  00  0x0000000001f9cd8f  FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformStackWalk.cpp, line 945]
[Callstack]  01  0x0000000001eb4545  FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformStackWalk.cpp, line 146]
[Callstack]  02  0x0000000001f89600  FLinuxCrashContext::CaptureStackTrace() [Runtime/Core/Public/Containers/ContainerAllocationPolicies.h, line 342]
[Callstack]  03  0x0000000004f6d47b  CommonLinuxCrashHandler(FGenericCrashContext const&) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Linux/LinuxCommonStartup/Private/LinuxCommonStartup.cpp, line 33]
[Callstack]  04  0x0000000001f8daad  PlatformCrashHandler(int, siginfo_t*, void*) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformCrashContext.cpp, line 576]
[Callstack]  05  0x00007f794da10390  /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f794da10390]
[Callstack]  06  0x0000000001ea9087  FGenericPlatformMisc::RaiseException(unsigned int) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp, line 300]
[Callstack]  07  0x0000000001f97a84  FOutputDeviceLinuxError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformOutputDevices.cpp, line 126]
[Callstack]  08  0x0000000002042bd7  FOutputDevice::Logf(wchar_t const*, ...) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h, line 180]
[Callstack]  09  0x0000000001fbb0dd  FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) [Runtime/Core/Public/Containers/ContainerAllocationPolicies.h, line 366]
[Callstack]  10  0x00000000044917f1  Unknown [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Core/Public/Containers/Array.h, line 657]
[Callstack]  11  0x000000000449320b  Unknown [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Engine/Private/Scalability.cpp, line 585]
[Callstack]  12  0x0000000001e6df98  FEngineLoop::PreInit(wchar_t const*) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp, line 1300]
[Callstack]  13  0x0000000001e7a018  GuardedMain(wchar_t const*) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Launch/Private/Launch.cpp, line 28]
[Callstack]  14  0x0000000004f6e233  CommonLinuxMain(int, char**, int (*)(wchar_t const*)) [/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Linux/LinuxCommonStartup/Private/LinuxCommonStartup.cpp, line 231]
[Callstack]  15  0x00007f794ccea830  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f794ccea830]
[Callstack]  16  0x0000000001e6bf19  /home/graf/Desktop/TestZLinux/LinuxNoEditor/Engine/Binaries/Linux/UE4Game(_start+0x29) [0x1e6bf19]

Fatal error: [File:/home/graf/Desktop/ue4/UnrealEngine-4.14/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformMisc.cpp] [Line: 441] 
Error copying clipboard contents: Couldn't find a window to own the selection

[2017.05.18-09.15.54:323][  0]LogExit: Executing StaticShutdownAfterError
Malloc Size=131160 LargeMemoryPoolOffset=327832 
Malloc Size=131160 LargeMemoryPoolOffset=459016 
Malloc Size=131160 LargeMemoryPoolOffset=590200 
Using binned.
LogPlatformFile: Not using cached  wrapper
LogInit:Display: RandInit(-636241543) SRandInit(-636241543).
LogTaskGraph: Started task graph with 4 named threads and 7 total threads with 1 sets of task threads.
LogInit: Build: ++UE4+Release-4.14-CL-0
LogInit: Engine Version: 4.14.3-0+++UE4+Release-4.14
LogInit: Compatible Engine Version: 4.14.0-0+++UE4+Release-4.14
LogInit: Net CL: 0
LogInit: Compiled (64-bit): May 17 2017 18:37:35
LogInit: Compiled with Clang: 3.8.0 (tags/RELEASE_380/final)
LogInit: Build Configuration: Shipping
LogInit: Branch Name: ++UE4+Release-4.14
LogInit: Command line:  -Abslog=/home/graf/Desktop/TestZLinux/LinuxNoEditor/Engine/Saved/Logs/UE4Game-CRC.log /home/graf/Desktop/TestZLinux/LinuxNoEditor/Engine/Saved/Crashes/crashinfo-UE4Game-pid-25479-0003876936050B12000F0143F240EC8E/
LogInit: Base directory: /home/graf/Desktop/TestZLinux/LinuxNoEditor/Engine/Binaries/Linux/
LogInit: Installed Engine Build: 1
LogInit: Presizing for max 100000 objects, including 0 objects not considered by GC, pre-allocating 0 bytes for permanent pool.
LogInit: Object subsystem initialized
[2017.05.18-09.15.54:347][  0]LogInit: Linux hardware info:
[2017.05.18-09.15.54:347][  0]LogInit:  - we are the first instance of this executable
[2017.05.18-09.15.54:347][  0]LogInit:  - this process' id (pid) is 25495, parent process' id (ppid) is 25479
[2017.05.18-09.15.54:347][  0]LogInit:  - we are not running under debugger
[2017.05.18-09.15.54:347][  0]LogInit:  - machine network name is 'graf-All-Series'
[2017.05.18-09.15.54:347][  0]LogInit:  - user name is 'graf' (graf)
[2017.05.18-09.15.54:347][  0]LogInit:  - we're logged in locally
[2017.05.18-09.15.54:347][  0]LogInit:  - we're running with rendering
[2017.05.18-09.15.54:347][  0]LogInit:  - CPU: GenuineIntel 'Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz' (signature: 0x306C3)
[2017.05.18-09.15.54:347][  0]LogInit:  - Number of physical cores available for the process: 4
[2017.05.18-09.15.54:347][  0]LogInit:  - Number of logical cores available for the process: 8
[2017.05.18-09.15.54:347][  0]LogInit:  - Cache line size: 64
[2017.05.18-09.15.54:347][  0]LogInit:  - Memory allocator used: binned
[2017.05.18-09.15.54:347][  0]LogLinux: Skipped benchmarking clocks because the engine is running in a standalone program mode - CLOCK_REALTIME will be used.
[2017.05.18-09.15.54:347][  0]LogInit: Linux-specific commandline switches:
[2017.05.18-09.15.54:347][  0]LogInit:  -nodwarf (currently OFF): suppress parsing of DWARF debug info (callstacks will be generated faster, but won't have line numbers)
[2017.05.18-09.15.54:347][  0]LogInit:  -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence)
[2017.05.18-09.15.54:347][  0]LogInit:  -jemalloc - use jemalloc for all memory allocation
[2017.05.18-09.15.54:347][  0]LogInit:  -binnedmalloc - use binned malloc  for all memory allocation
[2017.05.18-09.15.54:347][  0]LogInit:  -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl)
[2017.05.18-09.15.54:347][  0]LogInit:  -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl)
[2017.05.18-09.15.54:347][  0]LogInit:  -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini)
[2017.05.18-09.15.54:347][  0]LogInit:  - Physical RAM available (not considering process quota): 32 GB (32117 MB, 32888752 KB, 33678082048 bytes)
[2017.05.18-09.15.54:347][  0]LogUObjectArray: 141 objects as part of root set at end of initial load.
[2017.05.18-09.15.54:347][  0]LogUObjectAllocator: 23664 out of 0 bytes used by permanent object pool.
[2017.05.18-09.15.54:347][  0]LogUObjectArray: CloseDisregardForGC: 0/0 objects in disregard for GC pool
[2017.05.18-09.15.54:347][  0]LogPaths:Warning: No paths for game localization data were specifed in the game configuration.
[2017.05.18-09.15.54:347][  0]LogInit:Warning: No paths for engine localization data were specifed in the engine configuration.
[2017.05.18-09.15.54:347][  0]LogTextLocalizationManager: No translations for ('') exist, falling back to 'en' for localization and internationalization data.
[2017.05.18-09.15.54:349][  0]CrashReportClientLog: CrashReportClientVersion=1.0
[2017.05.18-09.15.54:349][  0]CrashReportClientLog: CrashReportReceiver disabled
[2017.05.18-09.15.54:349][  0]CrashReportClientLog: DataRouterUrl: https://datarouter.ol.epicgames.com/datarouter/api/v1/public/data
[2017.05.18-09.15.54:349][  0]LogQoSReporter:Error: QoS API server is not configured, no QoS metrics will be reported.
[2017.05.18-09.15.54:349][  0]LogQoSReporter: QoSReporter initialized (InstanceId = '0004364436050B12000F015DDA13FB6F', SystemId = '4cb46475087dbc956be8d009591b04b5')
[2017.05.18-09.15.54:349][  0]LogQoSReporter: APIKey = 'CrashReportClient.Release'. APIServer = ''. AppVersion = 'UE4-CL-0'. AppEnvironment = 'Release'
[2017.05.18-09.15.54:349][  0]LogQoSReporter: QoSReporter has been configured without a valid deployment name.
[2017.05.18-09.15.54:349][  0]LogQoSReporter: QoSReporter has been configured without a valid deployment name.
[2017.05.18-09.15.54:349][  0]CrashReportClientLog: Initial state = Unknown UploadState value
[2017.05.18-09.15.54:349][  0]CrashReportClientLog: Initial state = Unknown UploadState value
[2017.05.18-09.15.54:349][  0]LogCrashDebugHelper: DepotName: //UE4/Release-4.14
[2017.05.18-09.15.54:349][  0]LogCrashDebugHelper: BuiltFromCL: 0
[2017.05.18-09.15.54:349][  0]LogCrashDebugHelper: EngineVersion: 4.14.3-0+++UE4+Release-4.14
[2017.05.18-09.15.54:349][  0]LogCrashDebugHelper: BuildVersion: ++UE4+Release-4.14-CL-0
[2017.05.18-09.15.54:349][  0]LogCrashDebugHelper:Warning: CrashDebugHelperConfig invalid
[2017.05.18-09.15.54:349][  0]LogCrashDebugHelper:Warning: PDB Cache disabled
[2017.05.18-09.15.55:319][  0]CrashReportClientLog: Got 4 pending files to upload from 'crashinfo-UE4Game-pid-25479-0003876936050B12000F0143F240EC8E'
[2017.05.18-09.15.55:319][  0]CrashReportClientLog: State change from Ready to SendingFiles
[2017.05.18-09.15.55:319][  0]CrashReportClientLog: CompressAndSendData have 4 pending files
[2017.05.18-09.15.55:319][  0]CrashReportClientLog: CompressAndSendData compressing 7738 bytes ('/home/graf/Desktop/TestZLinux/LinuxNoEditor/Engine/Saved/Crashes/crashinfo-UE4Game-pid-25479-0003876936050B12000F0143F240EC8E/UE4Game.log')
[2017.05.18-09.15.55:319][  0]CrashReportClientLog: CompressAndSendData compressing 1941 bytes ('/home/graf/Desktop/TestZLinux/LinuxNoEditor/Engine/Saved/Crashes/crashinfo-UE4Game-pid-25479-0003876936050B12000F0143F240EC8E/wermeta.xml')
[2017.05.18-09.15.55:319][  0]CrashReportClientLog: CompressAndSendData compressing 4 bytes ('/home/graf/Desktop/TestZLinux/LinuxNoEditor/Engine/Saved/Crashes/crashinfo-UE4Game-pid-25479-0003876936050B12000F0143F240EC8E/minidump.dmp')
[2017.05.18-09.15.55:320][  0]CrashReportClientLog: CompressAndSendData compressing 4115 bytes ('/home/graf/Desktop/TestZLinux/LinuxNoEditor/Engine/Saved/Crashes/crashinfo-UE4Game-pid-25479-0003876936050B12000F0143F240EC8E/Diagnostics.txt')
[2017.05.18-09.15.55:321][  0]LogInit: Using libcurl 7.46.0
[2017.05.18-09.15.55:321][  0]LogInit:  - built for x86_64-pc-linux-gnu
[2017.05.18-09.15.55:321][  0]LogInit:  - supports SSL with OpenSSL/1.0.2d
[2017.05.18-09.15.55:321][  0]LogInit:  - supports HTTP deflate (compression) using libz 1.2.8
[2017.05.18-09.15.55:321][  0]LogInit:  - other features:
[2017.05.18-09.15.55:321][  0]LogInit:      CURL_VERSION_SSL
[2017.05.18-09.15.55:321][  0]LogInit:      CURL_VERSION_LIBZ
[2017.05.18-09.15.55:321][  0]LogInit:      CURL_VERSION_IPV6
[2017.05.18-09.15.55:321][  0]LogInit:      CURL_VERSION_ASYNCHDNS
[2017.05.18-09.15.55:321][  0]LogInit:      CURL_VERSION_LARGEFILE
[2017.05.18-09.15.55:321][  0]LogInit:      CURL_VERSION_TLSAUTH_SRP
[2017.05.18-09.15.55:321][  0]LogInit:  Libcurl: checking if '/etc/pki/tls/certs/ca-bundle.crt' exists
[2017.05.18-09.15.55:321][  0]LogInit:  Libcurl: checking if '/etc/ssl/certs/ca-certificates.crt' exists
[2017.05.18-09.15.55:321][  0]LogInit:  CurlRequestOptions (configurable via config and command line):
[2017.05.18-09.15.55:321][  0]LogInit:  - bVerifyPeer = true  - Libcurl will verify peer certificate
[2017.05.18-09.15.55:321][  0]LogInit:  - bUseHttpProxy = false  - Libcurl will NOT use HTTP proxy
[2017.05.18-09.15.55:321][  0]LogInit:  - bDontReuseConnections = false  - Libcurl will reuse connections
[2017.05.18-09.15.55:321][  0]LogInit:  - CertBundlePath = /etc/ssl/certs/ca-certificates.crt  - Libcurl will set CURLOPT_CAINFO to it
[2017.05.18-09.15.55:321][  0]CrashReportClientLog: Sending HTTP request: https://datarouter.ol.epicgames.com/datarouter/api/v1/public/data?AppID=CrashReporter&AppVersion=4.14.3-0%2B%2B%2BUE4%2BRelease-4.14&AppEnvironment=Release&UploadType=crashreports&UserID=0002d6f2170510100006016c2906e93c%7C%7C4cb46475087dbc956be8d009591b04b5
[2017.05.18-09.15.56:021][  0]CrashReportClientLog: OnProcessRequestComplete(), State=SendingFiles bSucceeded=1
[2017.05.18-09.15.56:021][  0]CrashReportClientLog: State change from SendingFiles to SendingFiles
[2017.05.18-09.15.56:021][  0]CrashReportClientLog: All uploads done
[2017.05.18-09.15.56:021][  0]CrashReportClientLog: State change from SendingFiles to Finished
[2017.05.18-09.15.56:322][  0]LogLinux: FLinuxPlatformMisc::RequestExit(0)
[2017.05.18-09.15.56:322][  0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(0)
[2017.05.18-09.15.56:355][  0]CrashReportClientLog: Final state (Receiver) = Finished
[2017.05.18-09.15.56:355][  0]CrashReportClientLog: Final state (Receiver) = Unknown UploadState value
[2017.05.18-09.15.56:355][  0]LogExit: Preparing to exit.
[2017.05.18-09.15.56:356][  0]LogObj: Freed 0b from 0 cluster array pools.
[2017.05.18-09.15.56:356][  0]LogExit: Object subsystem successfully closed.
[2017.05.18-09.15.56:359][  0]LogModuleManager: Shutting down and abandoning module HTTP (5)
[2017.05.18-09.15.56:359][  0]LogModuleManager: Shutting down and abandoning module CrashDebugHelper (4)
[2017.05.18-09.15.56:359][  0]LogModuleManager: Shutting down and abandoning module QoSReporter (3)
[2017.05.18-09.15.56:359][  0]LogModuleManager: Shutting down and abandoning module Analytics (2)
[2017.05.18-09.15.56:359][  0]LogModuleManager: Shutting down and abandoning module CoreUObject (1)
[2017.05.18-09.15.56:359][  0]LogExit: Exiting.
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)

Hey nawega88-

The screenshot of your VS errors is too small to make out, can you provide another copy with a larger resolution. Additionally, are you doing anything to manually set the resolution? I ask because the Linux terminal seems to indicate that the resolution is being set to 1920x1080 followed by an assertion caused by the ResolutionValueStrings array.

As another note since you mentioned having issues with cross compiling other projects, can you try following the steps listed in the following link. This is the documentation for setting a project up cross compiling:

Hey
Thanks for answer.

As another note since you mentioned
having issues with cross compiling
other projects, can you try following
the steps listed in the following
link. This is the documentation for
setting a project up cross compiling:
A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums

I got “code-base” project so I need to use gitHub version of engine to pack for Linux. At least engine is saying so when I try using guide from your link.

The screenshot of your VS errors is too small to make out, can you provide another copy with a larger resolution.

This is what I’m getting from VS2015 running as admin. ( using this guide: Linux Development Requirements for Unreal Engine | Unreal Engine 5.3 Documentation )

Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB3075	The command "..\..\Build\BatchFiles\Build.bat BootstrapPackagedGame Linux Development -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.	BootstrapPackagedGame	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets	37	
Error		linker command failed with exit code 1 (use -v to see invocation)	CrossCompilerTool	F:\Ue4Git\UnrealEngine-4.14\Engine\Intermediate\ProjectFiles\clang++.exe	1	
Error		Failed to produce item: F:\Ue4Git\UnrealEngine-4.14\Engine\Binaries\Linux\CrossCompilerTool	CrossCompilerTool	F:\Ue4Git\UnrealEngine-4.14\Engine\Intermediate\ProjectFiles\ERROR	1	
Error	MSB3075	The command "..\..\Build\BatchFiles\Build.bat CrossCompilerTool Linux Development -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.	CrossCompilerTool	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets	37	
Error		'GL/glcorearb.h' file not found	TestPAL	F:\Ue4Git\UnrealEngine-4.14\Engine\Source\Programs\TestPAL\Private\Linux\OffscreenGL.cpp	4	
Error		Failed to produce item: F:\Ue4Git\UnrealEngine-4.14\Engine\Binaries\Linux\TestPAL	TestPAL	F:\Ue4Git\UnrealEngine-4.14\Engine\Intermediate\ProjectFiles\ERROR	1	
Error	MSB3075	The command "..\..\Build\BatchFiles\Build.bat TestPAL Linux Development -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.	TestPAL	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets	37	
Error		'windows.h' file not found	BootstrapPackagedGame	F:\Ue4Git\UnrealEngine-4.14\Engine\Source\Programs\Windows\BootstrapPackagedGame\Private\BootstrapPackagedGame.h	5	
Error		Failed to produce item: F:\Ue4Git\UnrealEngine-4.14\Engine\Binaries\Linux\BootstrapPackagedGame	BootstrapPackagedGame	F:\Ue4Git\UnrealEngine-4.14\Engine\Intermediate\ProjectFiles\ERROR	1	

Additionally, are you doing anything
to manually set the resolution?

Yes I’m getting native screen res and setting it by “setres”. It’s bad to do it this way?


I’ve manage to pack and run FP Template on Linux from Win engine.
Using PAK file was source of “not running” issue. When I unchecked this option template start to work fine.

But when i try same settings on my game, Linux terminal get little farther but still getting errors.

For sure something is wrong with “Input Action Key Mapping” struct. Full Linux terminal

[2017.05.26-11.32.57:602][  0]LogProperty:Error: Struct type unknown for property 'StructProperty /Game/Content/UI/Options.Options_C:TempKayBind'; perhaps the USTRUCT() was renamed or deleted?
Assertion failed: Object [File:F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject\LinkerLoad.cpp] [Line: 3260] 
[Callstack]  00  0x00000000020cf57f  FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformStackWalk.cpp, line 951]
[Callstack]  01  0x0000000001fcc8e5  FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\Core\Private\GenericPlatform/GenericPlatformStackWalk.cpp, line 159]
[Callstack]  02  0x00000000020d4906  FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, ...) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformStackWalk.cpp, line 899]
[Callstack]  03  0x0000000002405657  FLinkerLoad::Preload(UObject*) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject/LinkerLoad.cpp, line 3260]
[Callstack]  04  0x000000000246cf6d  UStructProperty::LinkInternal(FArchive&) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject/PropertyStruct.cpp, line 73]
[Callstack]  05  0x0000000002398072  UStruct::Link(FArchive&, bool) [Runtime/CoreUObject/Public\UObject/UnrealType.h, line 202]
[Callstack]  06  0x00000000023a61ab  UClass::Link(FArchive&, bool) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject/Class.cpp, line 3029]
[Callstack]  07  0x0000000003c24718  UBlueprintGeneratedClass::Link(FArchive&, bool) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\Engine\Private/BlueprintGeneratedClass.cpp, line 1301]
[Callstack]  08  0x00000000023a792d  UClass::Serialize(FArchive&) [Runtime/Core/Public\Serialization/Archive.h, line 843]
[Callstack]  09  0x0000000003c2505f  UBlueprintGeneratedClass::Serialize(FArchive&) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\Core\Public\Serialization/Archive.h, line 843]
[Callstack]  10  0x00000000024048d5  FLinkerLoad::Preload(UObject*) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject/LinkerLoad.cpp, line 3435]
[Callstack]  11  0x00000000024058fb  FLinkerLoad::CreateExportAndPreload(int, bool) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject/LinkerLoad.cpp, line 2900]
[Callstack]  12  0x000000000240617f  FLinkerLoad::LoadAllObjects(bool) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject/LinkerLoad.cpp, line 3041]
[Callstack]  13  0x00000000024cde10  LoadPackageInternalInner(UPackage*, wchar_t const*, unsigned int, FLinkerLoad*, bool) [Runtime/Core/Public\Serialization/Archive.h, line 1211]
[Callstack]  14  0x00000000023fef4d  FLinkerLoad::VerifyImportInner(int, FString&) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject/LinkerLoad.cpp, line 2571]
[Callstack]  15  0x00000000023fe618  FLinkerLoad::VerifyImport(int) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject/LinkerLoad.cpp, line 2339]
[Callstack]  16  0x00000000023fed25  FLinkerLoad::VerifyImportInner(int, FString&) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject/LinkerLoad.cpp, line 2619]
[Callstack]  17  0x00000000023fe618  FLinkerLoad::VerifyImport(int) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject/LinkerLoad.cpp, line 2339]
[Callstack]  18  0x0000000002406629  FLinkerLoad::CreateImport(int) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject/LinkerLoad.cpp, line 4293]
[Callstack]  19  0x000000000230f431  FLinkerLoad::ResolveDependencyPlaceholder(FLinkerPlaceholderBase*, UClass*, FName) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\Blueprint/BlueprintSupport.cpp, line 1162]
[Callstack]  20  0x000000000230f164  FLinkerLoad::ResolveDeferredDependencies(UStruct*) [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\Blueprint/BlueprintSupport.cpp, line 1032]
[Callstack]  21  0x000000000230f755  FLinkerLoad::ResolveAllImports() [F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\Blueprint/BlueprintSupport.cpp, line 1253]
[Call
[2017.05.26-11.33.05:148][  0]LogLinux:Error: appError called: Assertion failed: Assertion failed: Object [File:F:\Ue4Git\UnrealEngine-4.15\Engine\Source\Runtime\CoreUObject\Private\UObject\LinkerLoad.cpp] [Line: 3260] 

Edit: 26.05 15.22

After removing all “Input Action Key Mapping” struct variables from game lunches successfully.

Hey Thanks for answer. Not sure if you’ll get notification if I post replay as “answer”, “comment” don’t have enough characters.

I’m glad to hear you were able to to get the project working after removing the struct variables. How were you setting up / using the Input Action Key Mapping structs in your project? Can you provide a sample setup for me to test locally?

I’ll try to recreate this issue in blank project and send it to you on Monday.

First I was using 's Victory plugin to get and set key binding. But every node containing his input struct was giving me error on Linux.Forum

Then I decide try using AndrewFord’s code to get bindings, and rewove setting for test. If I don’t set member of output array from this function as variable, I can still get key from it and Linux works just fine.