Unreal Engine Defaults to Headless Mode
Build Type: GitHub. Source build of stable branch.
Build version: 4.19 (GitHub 4.19 branch commit 3f28d8781885eb16b23fec92dffee0f47ecc0e6e)
Detailed description of the issue: Since 4.18, opening any Unreal Project that uses C++ fails with a completely unhelpful error message.
This includes projects created with 4.18 or 4.19 as well as projects upgraded from 4.17 and earlier (the project upgrade system is broken as well, see https://answers.unrealengine.com/questions/718575/, but this is a separate issue).
Looking at the source code, the text
Do observe, however, that SDL does initialize successfully in the attached screenshot and that other SDL applications are running fine on this system.
Occurs 100% of the time.
System Specs: Gentoo Linux, 2x Xeon E5-2680, 16 GiB RAM, GTX 1080 KDE Plasma 5.11.5, NVidia proprietary drivers 390.42 GCC 6.4, CLang 5.0.1 w/LLD 5.0.1
asked Mar 29 '18 at 06:02 PM in Bug Reports
A workaround for those who don't mind ugly hacks:
Launching Unreal Engine from the shell, this will then present you with a prompt to answer Y or N. Answering Y will compile the C++ project, open the editor and everything will work from there.
answered Mar 29 '18 at 08:03 PM
While you seem to have worked the problem around, could you please try breaking into X11_ShowMessageBox() and seeing why it fails? There must be something specific to your X server that SDL2 doesn't handle. What are you running - X.Org, XWayland, anything else?
answered Mar 30 '18 at 03:28 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here