# Open Project failed in UE4Editor

**URL:** <https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119>\
**Category:** Platform & Builds\
**Tags:** Linux, unreal-engine, UE4, question\
**Created:** [March 9, 2015, 11:05am UTC](https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119 "2015-03-09T11:05:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![42n4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@42n4](https://forums.unrealengine.com/u/42n4)\
**Post date:** [March 9, 2015, 11:05am UTC](https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119/1 "2015-03-09T11:05:32Z")

</div>

Gentoo, nvidia-drivers-346.35, clang-3.5.1, I have managed to compile everything as described in

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

```
emerge =mono-3.2.8
git clone https://github.com/3dluvr/UnrealEngine.git
cd UnrealEngine
./Setup.sh 
./GenerateProjectFiles.sh 
make SlateViewer
make ShaderCompileWorker UnrealLightmass UnrealPak UE4Editor
make UE4Editor-Linux-Debug 
cd Engine/Binaries/Linux && LD_LIBRARY_PATH=. ./UE4Editor
or
cd Engine/Binaries/Linux && LD_LIBRARY_PATH=. ./UE4Editor-Linux-Debug

```

UE4Editor opens but exits (shutdowns) when project is created or project is opened.  
Even ./UE4Editor-Linux-Debug -onethread cannot help.

It says in console:

- [http://hastebin.com/ixinicigem.coffee](http://hastebin.com/ixinicigem.coffee)

or with strace

- [Box](https://app.box.com/s/2evljsi7rhjm6fb40rsmwone6pdile8u)

I have run ./UE4Editor-Linux-Debug under gdb, it stops at the beginning:

```
(gdb) r /root/Unreal\ Projects/MyPuzzle01/MyPuzzle01.uproject
Starting program: /var/tmp/COMPILE/UnrealEngine/Engine/Binaries/Linux/UE4Editor-Linux-Debug /root/Unreal\ Projects/MyPuzzle01/MyPuzzle01.uproject
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Using binned.
Increasing per-process limit of core file size to infinity.
[New Thread 0x7ffff7e7d700 (LWP 7183)]
[New Thread 0x7ffff7e5c700 (LWP 7184)]
[New Thread 0x7ffff7e3b700 (LWP 7185)]

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff7bce8ed in raise (sig=5) at ../sysdeps/unix/sysv/linux/pt-raise.c:36
36	../sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff7bce8ed in raise (sig=5)
    at ../sysdeps/unix/sysv/linux/pt-raise.c:36
#1 0x00007ffff6e9fb27 in DebugBreak ()
    at /var/tmp/COMPILE/UnrealEngine/Engine/Source/Runtime/Core/Public/Linux/LinuxPlatformMisc.h:32
#2 RangeCheck (this=0x7ffffffe4220, Index=0)
    at /var/tmp/COMPILE/UnrealEngine/Engine/Source/Runtime/Core/Public/Containers/Array.h:679
#3 operator[] (this=0x7ffffffe4220, Index=0)
    at /var/tmp/COMPILE/UnrealEngine/Engine/Source/Runtime/Core/Public/Containers/Array.h:736
#4 operator[] (this=0x7ffffffe4220, Index=0)
    at /var/tmp/COMPILE/UnrealEngine/Engine/Source/Runtime/Core/Public/Containers/UnrealString.h:215
#5 FLinuxFileMapper::MapCaseInsensitiveFile (
    this=0x7ffff78e7f48 <GCaseInsensMapper>, PossiblyWrongFilename=..., 
    ExistingFilename=...)
    at /var/tmp/COMPILE/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformFile.cpp:472
#6 0x00007ffff6e567bc in FLinuxPlatformFile::DirectoryExists (
    this=0x7ffff78e8370 <IPlatformFile::GetPlatformPhysical()::Singleton>, 
    Directory=0x7ffffffe4360 L"../../../../../../..")
    at /var/tmp/COMPILE/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformFile.cpp:843
#7 0x00007ffff6c70d65 in IPlatformFile::CreateDirectoryTree (
    this=0x7ffff78e8370 <IPlatformFile::GetPlatformPhysical()::Singleton>, 
    Directory=0xdf1800 L"../../../../../../../root/Unreal Projects/Mypuzzle02d/I

```

---

<div class="post-metadata">

**Author:** ![amigo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@amigo](https://forums.unrealengine.com/u/amigo)\
**Post date:** [March 9, 2015, 12:41pm UTC](https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119/2 "2015-03-09T12:41:48Z")

</div>

Hi

Could you please post your entire log from the terminal, start to end, and include any stack trace (if available).

Thanks.

---

<div class="post-metadata">

**Author:** ![42n4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@42n4](https://forums.unrealengine.com/u/42n4)\
**Post date:** [March 9, 2015, 10:47pm UTC](https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119/3 "2015-03-09T22:47:01Z")

</div>

Here are logs for ./UE4Editor-Linux-Debug -onethread and normal run:  
[https://app.box.com/s/2evljsi7rhjm6fb40rsmwone6pdile8u](https://app.box.com/s/2evljsi7rhjm6fb40rsmwone6pdile8u)

---

<div class="post-metadata">

**Author:** ![amigo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@amigo](https://forums.unrealengine.com/u/amigo)\
**Post date:** [March 9, 2015, 11:46pm UTC](https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119/4 "2015-03-09T23:46:37Z")

</div>

Have you tried building the default Development build and running without -onethread though?

There don’t seem to be any obvious errors, aside from the JSON ones which are benign and so I wonder why you are running Debug with -onethread.

It might be possible that you’ve hit some threading bug with this combination (Gentoo, Debug build, -onethread) but I’ll ping @RCL about this as well.

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [March 10, 2015, 1:57am UTC](https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119/5 "2015-03-10T01:57:19Z")

</div>

Run it under gdb, and pass the complete path to .uproject as the first argument.

```
gdb UE4Editor-Linux-Debug
r /my/project/project.uproject

```

and see if it traps to the debugger. You can also set breakpoint at FLinuxPlatformMisc::RequestExit to see what causes it to exit.

---

<div class="post-metadata">

**Author:** ![42n4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@42n4](https://forums.unrealengine.com/u/42n4)\
**Post date:** [March 10, 2015, 6:45am UTC](https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119/6 "2015-03-10T06:45:29Z")

</div>

I have added gdb output to my question!

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [March 10, 2015, 6:46am UTC](https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119/7 "2015-03-10T06:46:30Z")

</div>

Could you please do “bt” after you trap and add the resulting callstack?

P.S. I strongly recommend NOT to run the engine as root.

---

<div class="post-metadata">

**Author:** ![42n4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@42n4](https://forums.unrealengine.com/u/42n4)\
**Post date:** [March 10, 2015, 7:43am UTC](https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119/8 "2015-03-10T07:43:41Z")

</div>

I have added the “bt” output. I have run it as a user with the exactly same result.

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [March 10, 2015, 7:53am UTC](https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119/9 "2015-03-10T07:53:13Z")

</div>

Move your project into /var/tmp or move the engine under /root. There is a bug that makes the engine crash if project and the engine don’t share any other directory except /.

---

<div class="post-metadata">

**Author:** ![42n4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@42n4](https://forums.unrealengine.com/u/42n4)\
**Post date:** [March 10, 2015, 8:05am UTC](https://forums.unrealengine.com/t/open-project-failed-in-ue4editor/310119/10 "2015-03-10T08:05:31Z")

</div>

It works! Thanks!
