Build fails due to unresolved link error

DomeProjection.cpp
[18/18] Link DomeProjection.exe
Creating library E:\Unreal Projects\DomeProjection\Binaries\Win64\DomeProjection.lib and object E:\Unreal Projects\DomeProjection\Binaries\Win64\DomeProjection.exp
UELinkerFixups.cpp.obj : error LNK2019: unresolved external symbol “void __cdecl EmptyLinkFunctionForStaticInitializationDomeProjection(void)” (?EmptyLinkFunctionForStaticInitializationDomeProjection@@YAXXZ) referenced in function “void __cdecl UELinkerFixups(void)” (?UELinkerFixups@@YAXXZ)
E:\Unreal Projects\DomeProjection\Binaries\Win64\DomeProjection.exe : fatal error LNK1120: 1 unresolved externals
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: E:\Unreal Projects\DomeProjection\Binaries\Win64\DomeProjection.exe
Cumulative action seconds (12 processors): 0,00 building projects, 21,83 compiling, 0,00 creating app bundles, 0,00 generating debug info, 4,82 linking, 0,00 other
UBT execution time: 32,74 seconds

Someone else had this error as well and posted a (possible) fix. This did it for me.
I had to fix up the 2nd parameter of the IMPLEMENT_PRIMARY_GAME_MODULEmacro.