When I am trying to compile my Project with the 4.10.4 Preview in VS 2013 and 2015, I’m getting some Linker Errors. Mostly they have to do with a “SetPause”-Function. But I never touched this function… not even with an override.
Severity Code Description Project File Line
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl APlayerController::SetPause(bool,class TBaseDelegate<bool>)" (?SetPause@APlayerController@@UEAA_N_NV?$TBaseDelegate@_N$$$V@@@Z) StruggleOfMages C:\Users\brain\Documents\Unreal Projects\StruggleOfMages 4.10\Intermediate\ProjectFiles\StruggleOfMages.generated.cpp.obj 1
Error MSB3073 The command ""C:\Program Files\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat" StruggleOfMagesEditor Win64 Development "C:\Users\brain\Documents\Unreal Projects\StruggleOfMages 4.10\StruggleOfMages.uproject" -rocket -waitmutex" exited with code -1. StruggleOfMages C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38
Error LNK1120 4 unresolved externals StruggleOfMages C:\Users\brain\Documents\Unreal Projects\StruggleOfMages 4.10\Binaries\Win64\UE4Editor-StruggleOfMages.dll 1
Error Failed to produce item: C:\Users\brain\Documents\Unreal Projects\StruggleOfMages 4.10\Binaries\Win64\UE4Editor-StruggleOfMages.dll StruggleOfMages C:\Users\brain\Documents\Unreal Projects\StruggleOfMages 4.10\Intermediate\ProjectFiles\ERROR 1
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl AGameMode::SetPause(class APlayerController *,class TBaseDelegate<bool>)" (?SetPause@AGameMode@@UEAA_NPEAVAPlayerController@@V?$TBaseDelegate@_N$$$V@@@Z) StruggleOfMages C:\Users\brain\Documents\Unreal Projects\StruggleOfMages 4.10\Intermediate\ProjectFiles\SomGameMode.cpp.obj 1
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl APlayerController::SetPause(bool,class TBaseDelegate<bool>)" (?SetPause@APlayerController@@UEAA_N_NV?$TBaseDelegate@_N$$$V@@@Z) StruggleOfMages C:\Users\brain\Documents\Unreal Projects\StruggleOfMages 4.10\Intermediate\ProjectFiles\SomPlayerController.cpp.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static class TBaseDelegate<class UObjectBase * * *> & __cdecl FCoreDelegates::GetObjectArrayForDebugVisualizersDelegate(void)" (__imp_?GetObjectArrayForDebugVisualizersDelegate@FCoreDelegates@@SAAEAV?$TBaseDelegate@PEAPEAPEAVUObjectBase@■■■$V@@XZ) referenced in function "void __cdecl `dynamic initializer for 'GObjectArrayForDebugVisualizers''(void)" (??__EGObjectArrayForDebugVisualizers@@YAXXZ) StruggleOfMages C:\Users\brain\Documents\Unreal Projects\StruggleOfMages 4.10\Intermediate\ProjectFiles\StruggleOfMages.cpp.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static class TBaseDelegate<int * * *> & __cdecl FCoreDelegates::GetSerialNumberBlocksForDebugVisualizersDelegate(void)" (__imp_?GetSerialNumberBlocksForDebugVisualizersDelegate@FCoreDelegates@@SAAEAV?$TBaseDelegate@PEAPEAPEAH$$$V@@XZ) referenced in function "void __cdecl `dynamic initializer for 'GSerialNumberBlocksForDebugVisualizers''(void)" (??__EGSerialNumberBlocksForDebugVisualizers@@YAXXZ) StruggleOfMages C:\Users\brain\Documents\Unreal Projects\StruggleOfMages 4.10\Intermediate\ProjectFiles\StruggleOfMages.cpp.obj 1
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl AGameMode::SetPause(class APlayerController *,class TBaseDelegate<bool>)" (?SetPause@AGameMode@@UEAA_NPEAVAPlayerController@@V?$TBaseDelegate@_N$$$V@@@Z) StruggleOfMages C:\Users\brain\Documents\Unreal Projects\StruggleOfMages 4.10\Intermediate\ProjectFiles\StruggleOfMages.generated.cpp.obj 1