Happens with all versions of UE4. None of the other answers posted have solved it for me
When trying to create:
The project could not be compiled. Would you like to open it in Visual Studio?
Running E:/Programs/Epic Games/4.14/Engine/Binaries/DotNET/UnrealBuildTool.exe FirstProject Development Win64 -project="C:/Users/Joseph/Documents/Unreal Projects/FirstProject/FirstProject.uproject" -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
Parsing headers for FirstProjectEditor
Running UnrealHeaderTool "C:\Users\Joseph\Documents\Unreal Projects\FirstProject\FirstProject.uproject" "C:\Users\Joseph\Documents\Unreal Projects\FirstProject\Intermediate\Build\Win64\FirstProjectEditor\Development\FirstProjectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for FirstProjectEditor in 5.3009366 seconds
@progress pop
Performing 8 actions (2 in parallel)
[2/8] Resource PCLaunch.rc
PCH.FirstProject.h.cpp
[3/8] Resource ModuleVersionResource.rc.inl
FirstProjectCharacter.cpp
FirstProject.generated.cpp
FirstProjectGameMode.cpp
FirstProject.cpp
[8/8] Link UE4Editor-FirstProject.dll
Creating library C:\Users\Joseph\Documents\Unreal Projects\FirstProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-FirstProject.lib and object C:\Users\Joseph\Documents\Unreal Projects\FirstProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-FirstProject.exp
FirstProjectGameMode.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AGameModeBase::SetPause(class APlayerController *,class TBaseDelegate<bool>)" (?SetPause@AGameModeBase@@UEAA_NPEAVAPlayerController@@V?$TBaseDelegate@_N$$$V@@@Z)
FirstProject.generated.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AGameModeBase::SetPause(class APlayerController *,class TBaseDelegate<bool>)" (?SetPause@AGameModeBase@@UEAA_NPEAVAPlayerController@@V?$TBaseDelegate@_N$$$V@@@Z)
C:\Users\Joseph\Documents\Unreal Projects\FirstProject\Binaries\Win64\UE4Editor-FirstProject.dll : fatal error LNK1120: 1 unresolved externals
ERROR: UBT ERROR: Failed to produce item: C:\Users\Joseph\Documents\Unreal Projects\FirstProject\Binaries\Win64\UE4Editor-FirstProject.dll
Total build time: 36.87 seconds
When trying to load:
The following modules are missing or built with a different engine version:
UE4Editor-FirstProject.dll
Would you like to rebuild them now?
Yes leads to a brief load and then:
FirstProject could not be compiled. Try rebuilding from source manually.
This is my first project in over a year - abandoned the last before using
Thanks a lot