Cant open project after porting from Windows (UE Source v4.26.1) to Linux (UE Source v4.26.2)

Hello UE Linux Community,

After the reveal of Windows 11 I decited to ditch Windows entirely sooner or later. Configuring Linux wasn’t hard at all but getting my former Windows Project to work under Linux is going on for a week now.

Under Windows I was using 4.26.1, under Linux 4.26.2 was already out, so I’m using that one.

Well, after messing up the boot of my OS by foolishly installing obviously faulty drivers, I think my problem might lay somewhere in the following log, which I was shown when changing the version of my project for the first time via the running editor:

The project could not be compiled. Would you like to open it in Null Source Code Access?

Running /home/user1/UESource/4.26/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Linux -Project="/home/user1/Documents/Unreal Projects/NennemanTheGame/NennemanTheGame.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE

Running Mono...

Fixing inconsistent case in filenames.
Setting up Mono
~/UESource/4.26/Engine ~/UESource/4.26/Engine/Binaries/Linux
Using 'git status' to determine working set for adaptive non-unity build (/home/user1/UESource/4.26).
Creating makefile for NennemanTheGameEditor (no existing makefile)
@progress push 5%
Creating makefile for UnrealHeaderTool (no existing makefile)
@progress push 5%
@progress pop
------- Build details --------
Using toolchain located at '/home/user1/UESource/4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/user1/UESource/4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '10.0.1' (string), 10 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /home/user1/UESource/4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
Parsing headers for NennemanTheGameEditor
  Running UnrealHeaderTool "/home/user1/Documents/Unreal Projects/NennemanTheGame/NennemanTheGame.uproject" "/home/user1/Documents/Unreal Projects/NennemanTheGame/Intermediate/Build/Linux/B4D820EA/NennemanTheGameEditor/Development/NennemanTheGameEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/user1/UESource/4.26/Engine/Programs/UnrealBuildTool/Log_UHT.txt"
Reflection code generated for NennemanTheGameEditor in 2.9624179 seconds
@progress pop
------- Build details --------
Using toolchain located at '/home/user1/UESource/4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/user1/UESource/4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '10.0.1' (string), 10 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /home/user1/UESource/4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
ERROR: Building would modify the following engine files:
       
       /home/user1/UESource/4.26/Engine/Binaries/Linux/Android/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Binaries/Linux/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/2D/Paper2D/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/AI/AISupport/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/AI/EnvironmentQueryEditor/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Blendables/LightPropagationVolume/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Cameras/CameraShakePreviewer/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/AnimationSharing/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/CLionSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/CodeLiteSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/GitSourceControl/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/KDevelopSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/NullSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/PerforceSourceControl/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/PlasticSourceControl/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/PluginUtils/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/PropertyAccessNode/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/SubversionSourceControl/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/UObjectPlugin/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Developer/VisualStudioCodeSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/AssetManagerEditor/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/ContentBrowser/ContentBrowserClassDataSource/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/CryptoKeys/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/CurveEditorTools/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/DataValidation/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/FacialAnimation/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/GameplayTagsEditor/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/GeometryMode/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/MaterialAnalyzer/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/MobileLauncherProfileWizard/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/PluginBrowser/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Editor/SpeedTreeImporter/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Enterprise/DatasmithContent/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Enterprise/VariantManagerContent/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Experimental/AlembicImporter/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Experimental/AutomationUtils/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Experimental/BackChannel/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Experimental/CharacterAI/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Experimental/GeometryCache/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Experimental/GeometryProcessing/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Experimental/MotoSynth/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Experimental/PlatformCrypto/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Experimental/SkeletalReduction/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Lumin/MagicLeapMedia/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Lumin/MagicLeapPassableWorld/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Media/AndroidMedia/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Media/AvfMedia/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Media/ImgMedia/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Media/MediaCompositing/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Media/MediaPlayerEditor/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Media/WebMMedia/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Media/WmfMedia/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/MeshPainting/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Messaging/TcpMessaging/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Messaging/UdpMessaging/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/MovieScene/ActorSequence/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/MovieScene/LevelSequenceEditor/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/MovieScene/MatineeToLevelSequence/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/MovieScene/TemplateSequence/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Online/OnlineSubsystem/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Online/OnlineSubsystemNull/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Online/OnlineSubsystemSteam/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Online/OnlineSubsystemUtils/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Portal/LauncherChunkInstaller/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/ActorLayerUtilities/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/AndroidDeviceProfileSelector/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/AndroidPermission/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/AppleImageUtils/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/ArchVisCharacter/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/AssetTags/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/AudioCapture/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/AudioSynesthesia/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/ChunkDownloader/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/CustomMeshComponent/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/EditableMesh/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/ExampleDeviceProfileSelector/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/GooglePAD/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/LinuxDeviceProfileSelector/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/LocationServicesBPLibrary/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/MobilePatchingUtils/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/ProceduralMeshComponent/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/PropertyAccess/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/RuntimePhysXCooking/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/SignificanceManager/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/SoundFields/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/Steam/SteamShared/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/Synthesis/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Runtime/WebMMoviePlayer/Binaries/Linux/UE4Editor.modules
       /home/user1/UESource/4.26/Engine/Plugins/Tests/ScreenshotTools/Binaries/Linux/UE4Editor.modules
       
       Please rebuild from an IDE instead.

Oh and I’m using QT Creator and I modified my DesktopPlatformBase.cpp according to the following thread, but idk if it fixed anything.
https://forums.unrealengine.com/t/solved-upgrade-c-project-from-ue-4-24-to-4-25-under-linux/

Any help would be appreciated alot!

Vinni

After the reveal of Windows 11 I decited to ditch Windows entirely sooner or later.
Hahaha same for me.

Looks like you can’t convert your project for Windows to Linux. Try creating a new one but keep all your files (code and assets) and transfer them to the new one on Linux.

Hi, welcome.

Try compiling the project using this command

~/UESource/4.26/Engine/Build/BatchFiles/Linux/Build.sh Linux Development -Project="/home/user1/Documents/Unreal Projects/NennemanTheGame/NennemanTheGame.uproject" -TargetType=Editor

Hope I got the paths on your system right.

That might pop up some errors or it might not.

The issue is that by default the IDE is “Null Source Code Access” which obviously does not work.

If you run into more issues and want more in time help hop into Unreal Slackers #linux

1 Like

Seems like you saved me from sinking another week into this problem! =D
Building under Linux just is not as intuitive as one would think…

Thanks so much!

There were object channels I would have lost by just copying my assets over, even if doing so would have worked. There’s a whole lot of work to do, fixing issues that came with my port, but it surely was worth it!
Thanks for helping!

it is because we are building like we would on windows thru all the .exe tools! The moment I read the Makefile I jumped on my chair xD. But all is working great!