Module error when launching C++ project

I have successfully compiled UE4.23.0 and am attempting to create a C++ project on Linux. Setup.sh, GenerateProjectFiles.sh, and make all ran without error. I am able to create a C++ project successfully, but when I attempt to open it the editor crashes with the following log:



➜  UnrealEngine git:(release) ./Engine/Binaries/Linux/UE4Editor /home/michael/Unreal\ Projects/test/test.uproject
Increasing per-process limit of core file size to infinity.
- Existing per-process limit (soft=18446744073709551615, hard=18446744073709551615) is enough for us (need only 18446744073709551615)
LogConsoleResponse: Display: Failed to find resolution value strings in scalability ini. Falling back to default.
LogInit: Display: Running engine for game: test
LogPlatformFile: Not using cached read wrapper
LogTaskGraph: Started task graph with 5 named threads and 14 total threads with 3 sets of task threads.
LogStats: Stats thread started at 0.046979
LogICUInternationalization: ICU TimeZone Detection - Raw Offset: +0:00, Platform Override: ''
LogPluginManager: Mounting plugin CurveEditorTools
LogPluginManager: Mounting plugin CryptoKeys
LogPluginManager: Mounting plugin DataValidation
LogPluginManager: Mounting plugin MobileLauncherProfileWizard
LogPluginManager: Mounting plugin MaterialAnalyzer
LogPluginManager: Mounting plugin MacGraphicsSwitching
LogPluginManager: Mounting plugin SpeedTreeImporter
LogPluginManager: Mounting plugin PluginBrowser
LogPluginManager: Mounting plugin FacialAnimation
LogPluginManager: Mounting plugin GameplayTagsEditor
LogPluginManager: Mounting plugin AssetManagerEditor
LogPluginManager: Mounting plugin ProxyLODPlugin
LogPluginManager: Mounting plugin SkeletalReduction
LogPluginManager: Mounting plugin GeometryCache
LogPluginManager: Mounting plugin AutomationUtils
LogPluginManager: Mounting plugin CharacterAI
LogPluginManager: Mounting plugin BackChannel
LogPluginManager: Mounting plugin HTML5Networking
LogPluginManager: Mounting plugin PlatformCrypto
LogPluginManager: Mounting plugin AlembicImporter
LogPluginManager: Mounting plugin Paper2D
LogPluginManager: Mounting plugin TcpMessaging
LogPluginManager: Mounting plugin UdpMessaging
LogPluginManager: Mounting plugin CodeLiteSourceCodeAccess
LogPluginManager: Mounting plugin CLionSourceCodeAccess
LogPluginManager: Mounting plugin PerforceSourceControl
LogPluginManager: Mounting plugin GitSourceControl
LogPluginManager: Mounting plugin SubversionSourceControl
LogPluginManager: Mounting plugin KDevelopSourceCodeAccess
LogPluginManager: Mounting plugin ActorLayerUtilities
LogPluginManager: Mounting plugin XCodeSourceCodeAccess
LogPluginManager: Mounting plugin NullSourceCodeAccess
LogPluginManager: Mounting plugin VisualStudioSourceCodeAccess
LogPluginManager: Mounting plugin UObjectPlugin
LogPluginManager: Mounting plugin VisualStudioCodeSourceCodeAccess
LogPluginManager: Mounting plugin AnimationSharing
LogPluginManager: Mounting plugin WebMMoviePlayer
LogPluginManager: Mounting plugin ExampleDeviceProfileSelector
LogPluginManager: Mounting plugin GoogleCloudMessaging
LogPluginManager: Mounting plugin RuntimePhysXCooking
LogPluginManager: Mounting plugin AndroidPermission
LogPluginManager: Mounting plugin MobilePatchingUtils
LogPluginManager: Mounting plugin IOSDeviceProfileSelector
LogPluginManager: Mounting plugin WindowsMoviePlayer
LogPluginManager: Mounting plugin OculusVR
LogPluginManager: Mounting plugin PhysXVehicles
LogPluginManager: Mounting plugin ArchVisCharacter
LogPluginManager: Mounting plugin AndroidDeviceProfileSelector
LogPluginManager: Mounting plugin LocationServicesBPLibrary
LogPluginManager: Mounting plugin LinuxDeviceProfileSelector
LogPluginManager: Mounting plugin SignificanceManager
LogPluginManager: Mounting plugin EditableMesh
LogPluginManager: Mounting plugin SteamVR
LogPluginManager: Mounting plugin CustomMeshComponent
LogPluginManager: Mounting plugin AndroidMoviePlayer
LogPluginManager: Mounting plugin ProceduralMeshComponent
LogPluginManager: Mounting plugin CableComponent
LogPluginManager: Mounting plugin AudioCapture
LogPluginManager: Mounting plugin AppleImageUtils
LogPluginManager: Mounting plugin AppleMoviePlayer
LogPluginManager: Mounting plugin LightPropagationVolume
LogPluginManager: Mounting plugin MagicLeapMedia
LogPluginManager: Mounting plugin MagicLeap
LogPluginManager: Mounting plugin DatasmithContent
LogPluginManager: Mounting plugin VariantManagerContent
LogPluginManager: Mounting plugin OnlineSubsystemNull
LogPluginManager: Mounting plugin OnlineSubsystem
LogPluginManager: Mounting plugin OnlineSubsystemGooglePlay
LogPluginManager: Mounting plugin OnlineSubsystemUtils
LogPluginManager: Mounting plugin OnlineSubsystemIOS
LogPluginManager: Mounting plugin ActorSequence
LogPluginManager: Mounting plugin MatineeToLevelSequence
LogPluginManager: Mounting plugin LevelSequenceEditor
LogPluginManager: Mounting plugin AISupport
LogPluginManager: Mounting plugin ImgMedia
LogPluginManager: Mounting plugin AvfMedia
LogPluginManager: Mounting plugin WmfMedia
LogPluginManager: Mounting plugin MediaPlayerEditor
LogPluginManager: Mounting plugin MediaCompositing
LogPluginManager: Mounting plugin AndroidMedia
LogPluginManager: Mounting plugin WebMMedia
LogPluginManager: Mounting plugin ScreenshotTools
LogPluginManager: Mounting plugin NUTUnrealEngine4
LogPluginManager: Mounting plugin NetcodeUnitTest
LogPluginManager: Mounting plugin LauncherChunkInstaller
LogInit: Warning: Incompatible or missing module: test
LogInit: Initializing SDL.
LogInit: Initialized SDL 2.0.10 revision: 12952 (hg-12952:bc90ce38f1e2) (compiled against 2.0.10)
LogInit: Using SDL video driver 'x11'
LogInit: Display metrics:
LogInit:   PrimaryDisplayWidth: 2560
LogInit:   PrimaryDisplayHeight: 1440
LogInit:   PrimaryDisplayWorkAreaRect:
LogInit:     Left=0, Top=0, Right=2560, Bottom=1440
LogInit:   VirtualDisplayRect:
LogInit:     Left=0, Top=0, Right=2560, Bottom=1440
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: C27HG7x 27"
LogInit:       ID: display0
LogInit:       NativeWidth: 2560
LogInit:       NativeHeight: 1440
LogInit:       bIsPrimary: true
LogLinux: Warning: MessageBox: The following modules are missing or built with a different engine version:

  test

Would you like to rebuild them now?: Missing test Modules: No is implied.
LogExit: Preparing to exit.
LogModuleManager: Shutting down and abandoning module PlatformCryptoOpenSSL (40)
LogModuleManager: Shutting down and abandoning module PlatformCrypto (38)
LogModuleManager: Shutting down and abandoning module AnimationModifiers (36)
LogModuleManager: Shutting down and abandoning module PropertyEditor (35)
LogModuleManager: Shutting down and abandoning module AudioEditor (32)
LogModuleManager: Shutting down and abandoning module TextureCompressor (30)
LogModuleManager: Shutting down and abandoning module RenderCore (28)
LogModuleManager: Shutting down and abandoning module Landscape (26)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (24)
LogModuleManager: Shutting down and abandoning module OpenGLDrv (22)
LogModuleManager: Shutting down and abandoning module AnimGraphRuntime (20)
LogModuleManager: Shutting down and abandoning module Renderer (18)
LogModuleManager: Shutting down and abandoning module Engine (16)
LogModuleManager: Shutting down and abandoning module CoreUObject (14)
LogModuleManager: Shutting down and abandoning module NetworkFile (12)
LogModuleManager: Shutting down and abandoning module CookedIterativeFile (10)
LogModuleManager: Shutting down and abandoning module StreamingFile (8)
LogModuleManager: Shutting down and abandoning module SandboxFile (6)
LogModuleManager: Shutting down and abandoning module PakFile (4)
LogModuleManager: Shutting down and abandoning module RSA (3)
LogExit: Exiting.
LogInit: Tearing down SDL.
Exiting abnormally (error code: 1)
FGlobalDynamicReadBuffer::Cleanup()FGlobalDynamicReadBuffer::Cleanup()FGlobalDynamicReadBuffer::Cleanup()%  


When I attempt to alunch the project via the UI, I receive the same crash and error message.
I tested manually compiling the project by running “make” in the project directory, and it seems to succeed since all targets are already up to date. Even after compiling I receive the same error. Below is the project compilation log for reference:


bash "/home/michael/Downloads/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping  
Fixing inconsistent case in filenames.
Setting up Mono
Building CrashReportClient...
Using 'git status' to determine working set for adaptive non-unity build (/home/michael/Downloads/UnrealEngine).
Target is up to date
Total execution time: 0.84 seconds
bash "/home/michael/Downloads/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" ShaderCompileWorker Linux Development  
Fixing inconsistent case in filenames.
Setting up Mono
Building ShaderCompileWorker...
Using 'git status' to determine working set for adaptive non-unity build (/home/michael/Downloads/UnrealEngine).
Target is up to date
Total execution time: 0.91 seconds
bash "/home/michael/Downloads/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" UnrealLightmass Linux Development  
Fixing inconsistent case in filenames.
Setting up Mono
Building UnrealLightmass...
Using 'git status' to determine working set for adaptive non-unity build (/home/michael/Downloads/UnrealEngine).
Target is up to date
Total execution time: 0.88 seconds
bash "/home/michael/Downloads/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" UnrealFrontend Linux Development  
Fixing inconsistent case in filenames.
Setting up Mono
Building UnrealFrontend...
Using 'git status' to determine working set for adaptive non-unity build (/home/michael/Downloads/UnrealEngine).
Target is up to date
Total execution time: 0.86 seconds
bash "/home/michael/Downloads/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" UE4Editor Linux Development  
Fixing inconsistent case in filenames.
Setting up Mono
Building UE4Editor...
Using 'git status' to determine working set for adaptive non-unity build (/home/michael/Downloads/UnrealEngine).
Target is up to date
Total execution time: 1.26 seconds
bash "/home/michael/Downloads/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" UnrealInsights Linux Development  
Fixing inconsistent case in filenames.
Setting up Mono
Building UnrealInsights...
Using 'git status' to determine working set for adaptive non-unity build (/home/michael/Downloads/UnrealEngine).
Target is up to date
Total execution time: 0.86 seconds


Any pointers on this would be greatly appreciated.

I am having the same issue. I tried to create a C++ Function Library, got some error, had to restart the engine and got very similar results to the above. "

The following modules are missing or built with a different engine version: (Project Name)

I have no clue what I did and now I can’t even access the project. ANY help at all would be greatly appreciated.

Getting the same error while debugging with gdb. Getting a project file not found error.

I am getting this exact same issue on Unreal 5 after adding a C++ class. No amount of deleting and regenerating project files stops the error from eventually returning. If I compile from VS everything works fine. In the log it even says target up to date. It’s almost as if when the target is up to date, the UBT fails, but when it’s cleaned it succeeds because it actually has to build something. It seems like the issue lies in how Unreal is trying to determine whether or not a built module is out of date, but I have found numerous threads with this exact issue and none of them seem to have a working solution outside of completely recreating your project, and even then I don’t think that’s a reliable fix. It seems like an issue with the editor. It’s worth noting that I only get this issue if I try to launch the editor and have it automatically load the last project. If I just load the project, or I load it from the launch page, I don’t get the error. This is clearly some kind of odd configuration issue that doesn’t actually affect anything, but it’s REALLY annoying.