Cannot start UE4 Editor

Hello,

I was using UE4 normally, but today I just wanted to start it and I get symbol lookup error, like this:

[tomsk@tomsk-PC Linux]$ ./UE4Editor
./UE4Editor: symbol lookup error: /opt/unreal-engine/Engine/Binaries/Linux/libUE4Editor-UnrealEd.so: undefined symbol:
_Z35Z_Construct_UClass_UEditorSubsystemv

I remember that yesterday I wanted to create new C++ Class into my project, but UE4 started compiling it and it was compiling literally over hour and it remained at 79%, so then I quit UE4 (forced it) and went to sleep, now I cannot start engine.

Have you moved the engine from the original location where it was built? (Judging by its location in /opt/unreal-engine it seems so). The metadata stored by UnrealBuildTool contains absolute paths, so this was the reason why the whole engine started to be recompiled after you added a C++ file, and not just your project. Unfortunately breaking the (re)compilation at an arbitrary moment left the engine binaries in half-finished, inconsistent state. You need to recompile the engine again, preferably from scratch, before you can run it.

Huh? I never moved it from original location, “/opt/unreal-engine” is default location, I use Arch Linux, I installed it using “yay -S unreal-engine”

Oh now I remember I built it manually, my source code is located in “/run/media/tomsk/Data/Build/aur-065b27b3d83670108a55f83e5f774e9d8b021c3e/”