I have downloaded the 5.4.1 compiled engine for Linux, and have had issues running the game in debug. Originally I thought this was due to Rider or the project I was working on so I created a brand new project and then tried to debug it with the same issue. I even built the GameDebug from command line and get the same thing:
Increasing per-process limit of core file size to infinity.
Using musl
Opening shared memory
Shared memory doesn't exist, checking legacy lock file
Checking for a '/tmp/UnrealTraceServer.pid' lock file
Forking process
Wait until we know the daemon has started.
Opening shared memory
Starting the store
Reading settings from '/home/russ/UnrealEngine/UnrealTrace/Settings.ini'
Unable to open settings file /home/russ/UnrealEngine/UnrealTrace/Settings.ini.
Store settings (/home/russ/UnrealEngine/UnrealTrace/Settings.ini):
- Store port: 1989
- Recorder port: 1981
- Thread count: 0
- Sponsored mode: 1
- Directory: '/home/russ/UnrealEngine/UnrealTrace/Store/001'
Signalling parent 16228
Parent received signal 10
Daemon signalled successful start
Forked complete (ret=0)
LogCore: UTS: Unreal Trace Server launched successfully
LogTrace: Initializing trace...
LogTrace: Finished trace initialization.
LogCsvProfiler: Display: Metadata set : platform="Linux"
LogCsvProfiler: Display: Metadata set : config="Development"
LogCsvProfiler: Display: Metadata set : buildversion="++UE5+Release-5.4-CL-33305029"
LogCsvProfiler: Display: Metadata set : engineversion="5.4.1-33305029+++UE5+Release-5.4"
LogCsvProfiler: Display: Metadata set : os="Ubuntu 24.04 LTS 6.8.0-31-generic"
LogCsvProfiler: Display: Metadata set : cpu="GenuineIntel|11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz"
LogCsvProfiler: Display: Metadata set : pgoenabled="0"
LogCsvProfiler: Display: Metadata set : pgoprofilingenabled="0"
LogCsvProfiler: Display: Metadata set : ltoenabled="0"
LogCsvProfiler: Display: Metadata set : asan="0"
LogCsvProfiler: Display: Metadata set : commandline=""""
LogCsvProfiler: Display: Metadata set : loginid="7470011025ea4f5f883ff74d515a8d0d-000003e8"
LogCsvProfiler: Display: Metadata set : llm="0"
LogInit: Display: No sandbox specified, assuming ../../../../../Linux_Unreal_Engine_5.4.1/../Documents/Unreal Projects/MyProject4/Saved/Cooked/Linux/
LogStats: Stats thread started at 0.361646
LogAssetRegistry: Premade AssetRegistry loaded from '../../../../../Linux_Unreal_Engine_5.4.1/../Documents/Unreal Projects/MyProject4/AssetRegistry.bin'
LogICUInternationalization: ICU TimeZone Detection - Raw Offset: +10:00, Platform Override: ''
LogInit: Session CrashGUID >====================================================
Session CrashGUID > UECC-Linux-EAF7CF93456F40558B2E6F26D2E2D849
Session CrashGUID >====================================================
LogConfig: No local boot hotfix file found at: [../../../../../Linux_Unreal_Engine_5.4.1/../Documents/Unreal Projects/MyProject4/Saved/PersistentDownloadDir/HotfixForNextBoot.txt]
LogPluginManager: Error: Unable to load plugin 'Interchange'. It was requested by .uplugin files that are enabled by default, but it has a dependency that is missing on disk.
The missing dependency is VariantManagerContent (ReferenceChain: Interchange -> VariantManagerContent).
Aborting.
Looked in these locations for .uplugin files:
PluginsDir: /home/russ/Linux_Unreal_Engine_5.4.1/Engine/Plugins
PluginsDir: /home/russ/Documents/Unreal Projects/MyProject4/Mods/
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
LogPakFile: Destroying PakPlatformFile
LogExit: Exiting.
Exiting abnormally (error code: 1)
Assertion failed: !HasCommands() [File:./Runtime/RHI/Private/RHICommandList.cpp] [Line: 222]
FRHICommandListBase has been deleted while it still contained commands. The command list was not submitted.
Signal 11 caught.
zsh: segmentation fault (core dumped) ./Binaries/Linux/MyProject4
I wasn’t even able to step through the PluginManager functions with GDB because there are no symbol tables/debug info for those functions and I wouldn’t know where to begin to turn those on.
Anyone else run into this?
Edit: this also occurs on a compiled from source version of 5.4. I was able to change to the Debug configuration and step through the PluginManager code. I can confirm that the plugins are NOT being detected in the FindPluginsInDirectory call in PluginManager.cpp line 1035.
Further debugging shows that the FSandboxPlatformFile::IterateDirectory function evaluates a sandboxed path i.e. /home/russ/Documents/Unreal Projects/MyProject4/Saved/Cooked/Linux/Engine/Plugins/Runtime/PreLoadScreenMoviePlayer and fails, and so doesn’t run the FFindPluginsInDirectory_Visitor on the Engine path.
In addition, I just compiled the 5.4 engine from source and now if I try to open the project using the editor, I get this:
Running /home/russ/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh Development Linux -Project="/home/russ/Documents/Unreal Projects/MyProject4/MyProject4.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Setting up bundled DotNet SDK
Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll Development Linux -Project=/home/russ/Documents/Unreal Projects/MyProject4/MyProject4.uproject -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: /home/russ/UnrealEngine/Engine/Programs/UnrealBuildTool/Log.txt
Using 'git status' to determine working set for adaptive non-unity build (/home/russ/UnrealEngine).
Creating makefile for MyProject4Editor (no existing makefile)
@progress push 5%
Parsing headers for MyProject4Editor
Running Internal UnrealHeaderTool "/home/russ/Documents/Unreal Projects/MyProject4/MyProject4.uproject" "/home/russ/Documents/Unreal Projects/MyProject4/Intermediate/Build/Linux/MyProject4Editor/Development/MyProject4Editor.uhtmanifest" -WarningsAsErrors
Total of 6 written
Reflection code generated for MyProject4Editor in 1.7552885 seconds
@progress pop
------- Build details --------
Using toolchain located at '/home/russ/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/russ/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu/bin/clang++) version 'clang version 16.0.6 (github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/russ/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu/bin' (string), 16 (major), 0 (minor), 6 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar (/home/russ/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar) version 'LLVM (http://llvm.org/):
LLVM version 16.0.6
Optimized build. (string)'
Using fast way to relink circularly dependent libraries (no FixDeps).
Targeted minimum CPU architecture: None
------------------------------
Building would modify the following engine files:
/home/russ/UnrealEngine/Engine/Intermediate/Build/Linux/x64/UnrealEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h.d
/home/russ/UnrealEngine/Engine/Intermediate/Build/Linux/x64/UnrealEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h.gch
Please rebuild from an IDE instead.
Total execution time: 5.11 seconds
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
LogPakFile: Destroying PakPlatformFile
LogExit: Exiting.
LogInit: Tearing down SDL.
Exiting abnormally (error code: 1)
Assertion failed: !HasCommands() [File:./Runtime/RHI/Private/RHICommandList.cpp] [Line: 222]
FRHICommandListBase has been deleted while it still contained commands. The command list was not submitted.
appError called: Assertion failed: !HasCommands() [File:./Runtime/RHI/Private/RHICommandList.cpp] [Line: 222]
FRHICommandListBase has been deleted while it still contained commands. The command list was not submitted.
=== Critical error: ===
Assertion failed: !HasCommands() [File:./Runtime/RHI/Private/RHICommandList.cpp] [Line: 222]
FRHICommandListBase has been deleted while it still contained commands. The command list was not submitted.
0x000078e5f072bb98 libUnrealEditor-RHI.so!FRHICommandListBase::~FRHICommandListBase() [/home/russ/UnrealEngine/Engine/Source/./Runtime/RHI/Private/RHICommandList.cpp:222]
0x000078e5eba47372 libc.so.6!__cxa_finalize(+0xc1)
0x000078e5f06e2dde libUnrealEditor-RHI.so!__do_global_dtors_aux()
Terminating server, no sponsors or connections active.
Listening cancelled, closing port...
Listening cancelled, closing port...
Received signal 15
Daemon is exiting without errors.
Even before, when I was using previous versions of the engine compiled from source it would always try to modify engine files. Why does this occur? I have never seen a clear explanation on why a Project would make modifications to the engine, nor a solution for it.
I’m having the same problem. Editor won’t start C++ projects (It will start blueprint ones though). Freshly compiled 5.4.1-release on Arch
LogInit: Using SDL video driver 'x11'
LogInit: Display metrics:
LogInit: PrimaryDisplayWidth: 3840
LogInit: PrimaryDisplayHeight: 2160
LogInit: PrimaryDisplayWorkAreaRect:
LogInit: Left=0, Top=0, Right=3840, Bottom=2160
LogInit: VirtualDisplayRect:
LogInit: Left=0, Top=0, Right=3840, Bottom=2160
LogInit: TitleSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
LogInit: ActionSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
LogInit: Number of monitors: 1
LogInit: Monitor 0
LogInit: Name: LG ULTRAGEAR+ 47"
LogInit: ID: display0
LogInit: NativeWidth: 3840
LogInit: NativeHeight: 2160
LogInit: bIsPrimary: true
LogLinux: Warning: MessageBox: The following modules are missing or built with a different engine version:
Spuddle
Would you like to rebuild them now?: Missing Spuddle Modules: No is implied.
LogLinux: Warning: MessageBox: The following modules are missing or built with a different engine version:
Spuddle
Would you like to proceed anyway? Code and content that depends on these modules may not work correctly. Enter at your own risk.: Missing Spuddle Modules: No is implied.
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
LogPakFile: Destroying PakPlatformFile
LogExit: Exiting.
LogInit: Tearing down SDL.
Exiting abnormally (error code: 1)
Assertion failed: !HasCommands() [File:./Runtime/RHI/Private/RHICommandList.cpp] [Line: 222]
FRHICommandListBase has been deleted while it still contained commands. The command list was not submitted.
appError called: Assertion failed: !HasCommands() [File:./Runtime/RHI/Private/RHICommandList.cpp] [Line: 222]
FRHICommandListBase has been deleted while it still contained commands. The command list was not submitted.
=== Critical error: ===
Assertion failed: !HasCommands() [File:./Runtime/RHI/Private/RHICommandList.cpp] [Line: 222]
FRHICommandListBase has been deleted while it still contained commands. The command list was not submitted.
0x00007c23ee3b1b88 libUnrealEditor-RHI.so!FRHICommandListBase::~FRHICommandListBase() [/Pool/ML/UnrealEngine/Engine/Source/./Runtime/RHI/Private/RHICommandList.cpp:222]
0x00007c23e9c57a60 libc.so.6!__cxa_finalize(+0x15f)
0x00007c23ee368dce libUnrealEditor-RHI.so!__do_global_dtors_aux()
Terminating server, no sponsors or connections active.
Listening cancelled, closing port...
Listening cancelled, closing port...
Received signal 15
Daemon is exiting without errors.