"Project could not be compiled from source, try to compile manually"


Hello, I am a just starting student on games, so please, try to be kind with me. I have been working on this blueprint only project and now I am receiving this error. I tried to download Visual Studio and I get a lot of errors when compiling on that C++ code, which I haven’t been taught about at all.

Please, I need some help, this is for my assignment and now I’m scared I lost my entire work as I have finished it.

Build started at 20:26…
1>------ Build started: Project: CCME0150, Configuration: Development_Editor x64 ------
1>Using bundled DotNet SDK version: 6.0.302
1>Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” CCME0150Editor Win64 Development -Project=“C:\Users\bebek\Documents\GitHub\Project\Unreal Engine\CCME0150 5.4\CCME0150.uproject” -WaitMutex -FromMsBuild -architecture=x64
1>Log file: C:\Users\bebek\AppData\Local\UnrealBuildTool\Log.txt
1>Building CCME0150Editor…
1>Using Visual Studio 2022 14.42.34435 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>EXEC : warning : Visual Studio 2022 compiler is not a preferred version
1>[Upgrade]
1>[Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
1>[Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Oldest
1>[Upgrade] Suppress this message by setting ‘IncludeOrderVersion = EngineIncludeOrderVersion.Latest;’ in CCME0150Editor.Target.cs.
1>[Upgrade] Alternatively you can set this to ‘EngineIncludeOrderVersion.Latest’ to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
1>[Upgrade]
1>Determining max actions to execute in parallel (12 physical cores, 20 logical cores)
1> Executing up to 12 processes, one per physical core
1>Using Parallel executor to run 6 action(s)
1>------ Building 6 action(s) started ------
1>[1/6] Compile [x64] SharedPCH.UnrealEd.Project.ValApi.Cpp20.InclOrderOldest.cpp
1>C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4668: ‘__has_feature’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif
1>C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4067: unexpected tokens following preprocessor directive - expected a newline
1>C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\SkeletalMesh.h(930): warning C4996: ‘FBoneMirrorInfo’: FBoneMirrorInfo is deprecated. Please use UMirrorDataTable for mirroring support. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>Total time in Parallel executor: 21.32 seconds
1>Total execution time: 21.90 seconds
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ““C:\Program Files\Epic Games\UE_5.4\Engine\Build\BatchFiles\Build.bat” CCME0150Editor Win64 Development -Project=“C:\Users\bebek\Documents\GitHub\Project\Unreal Engine\CCME0150 5.4\CCME0150.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 6.
1>Done building project “CCME0150.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 11 up-to-date, 0 skipped ==========
========== Build completed at 20:27 and took 23,030 seconds ==========

This is my error list

I need help please

I’d recommend creating a new project and copy/pasting your content folder into the new project as well as your config folder for a quick and easy fix.

Open your ide (visual studio or what you are using) and try to recompile the project. Probably wont because of some compile-time error. If still does not work try this

Delete the folders in you project named “Saved”, “Intermediate” “DerivedDataCache” and “binaries” as well as any IDE files (for example in visual studio community are .vsconfig, yourproject.sln, .vs)
The right click on your .uproject and regenerate project files. Then open the project with your IDE (if vs community the .sln file) and compile it from your IDE.