Sorry guys,
I couldn’t figure out the problem after I spent 1.5hrs straight on it. First thing is first…
There seems to be a new swarm program feature and that said my issues are as follows -
3:51:21 PM: Failed to load ‘aqProf.dll’ (GetLastError=126)
3:51:21 PM: File ‘aqProf.dll’ does not exist
3:51:21 PM: Failed to load ‘VSPerf140.dll’ (GetLastError=126)
3:51:21 PM: File ‘VSPerf140.dll’ does not exist
3:51:21 PM: Failed to load ‘VtuneApi.dll’ (GetLastError=126)
3:51:21 PM: File ‘VtuneApi.dll’ does not exist
3:51:21 PM: Failed to load ‘VtuneApi32e.dll’ (GetLastError=126)
3:51:21 PM: File ‘VtuneApi32e.dll’ does not exist
But I was having a problem before I updated everything so I’m not sure if the swarm program errors are even related.
Here are the log outputs -
LogPlayLevel: UnrealBuildTool: Performing 1 actions (4 in parallel)
LogPlayLevel: UnrealBuildTool: [1/1] Link BuildingEscape.exe
LogPlayLevel: UnrealBuildTool: Creating library C:\Users\Brandon Santangelo\Documents\repos\BuildingEscape_01\BuildingEscape\Binaries\Win64\BuildingEscape.lib and object C:\Users\Brandon Santangelo\Documents\repos\BuildingEscape_01\BuildingEscape\Binaries\Win64\BuildingEscape.exp
LogPlayLevel: UnrealBuildTool: UE4-Launch.lib(Module.Launch.cpp.obj) : error LNK2019: unresolved external symbol “bool GIsGameAgnosticExe” (?GIsGameAgnosticExe@@3_NA) referenced in function “void __cdecl LaunchFixGameNameCase(void)” (?LaunchFixGameNameCase@@YAXXZ)
LogPlayLevel: UnrealBuildTool: UE4-Core.lib(Module.Core.4_of_9.cpp.obj) : error LNK2001: unresolved external symbol “bool GIsGameAgnosticExe” (?GIsGameAgnosticExe@@3_NA)
LogPlayLevel: UnrealBuildTool: UE4-AutomationWorker.lib(Module.AutomationWorker.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-BuildPatchServices.lib(Module.BuildPatchServices.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-AutomationController.lib(Module.AutomationController.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-SandboxFile.lib(Module.SandboxFile.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-HTTP.lib(Module.HTTP.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-PakFile.lib(Module.PakFile.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-NetworkFile.lib(Module.NetworkFile.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Engine.lib(Module.Engine.15_of_38.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Engine.lib(Module.Engine.34_of_38.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Engine.lib(Module.Engine.23_of_38.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Engine.lib(Module.Engine.19_of_38.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Core.lib(Module.Core.8_of_9.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Core.lib(Module.Core.9_of_9.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-CoreUObject.lib(Module.CoreUObject.1_of_6.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Projects.lib(Module.Projects.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Launch.lib(Module.Launch.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Core.lib(Module.Core.5_of_9.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Core.lib(Module.Core.4_of_9.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Core.lib(Module.Core.1_of_9.cpp.obj) : error LNK2001: unresolved external symbol “wchar_t * GInternalGameName” (?GInternalGameName@@3PA_WA)
LogPlayLevel: UnrealBuildTool: UE4-Core.lib(Module.Core.4_of_9.cpp.obj) : error LNK2019: unresolved external symbol “bool const GIsDebugGame” (?GIsDebugGame@@3_NB) referenced in function “public: static enum EBuildConfigurations::Type __cdecl FApp::GetBuildConfiguration(void)” (?GetBuildConfiguration@FApp@@SA?AW4Type@EBuildConfigurations@@XZ)
LogPlayLevel: UnrealBuildTool: UE4-Core.lib(Module.Core.1_of_9.cpp.obj) : error LNK2019: unresolved external symbol “wchar_t const * const GForeignEngineDir” (?GForeignEngineDir@@3PEB_WEB) referenced in function “public: static wchar_t const * __cdecl FGenericPlatformMisc::EngineDir(void)” (?EngineDir@FGenericPlatformMisc@@SAPEB_WXZ)
LogPlayLevel: UnrealBuildTool: C:\Users\Brandon Santangelo\Documents\repos\BuildingEscape_01\BuildingEscape\Binaries\Win64\BuildingEscape.exe : fatal error LNK1120: 4 unresolved externals
LogPlayLevel: UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\Brandon Santangelo\Documents\repos\BuildingEscape_01\BuildingEscape\Binaries\Win64\BuildingEscape.exe
LogPlayLevel: UnrealBuildTool: Total build time: 8.94 seconds (Local executor: 0.00 seconds)
LogPlayLevel: CommandUtils.Run: Run: Took 9.1799999s to run UnrealBuildTool.exe, ExitCode=5
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.17\Engine\Binaries\DotNET\UnrealBuildTool.exe BuildingEscape Win64 Development -Project=“C:\Users\Brandon Santangelo\Documents\repos\BuildingEscape_01\BuildingEscape\Build
ingEscape.uproject” “C:\Users\Brandon Santangelo\Documents\repos\BuildingEscape_01\BuildingEscape\BuildingEscape.uproject” -NoUBTMakefiles -remoteini=“C:\Users\Brandon Santangelo\Documents\repos\BuildingEscape_01\BuildingEscape” -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2018.09.26-15.57.52.txt’
LogPlayLevel: at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback) LogPlayLevel: at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary
2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
LogPlayLevel: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars) LogPlayLevel: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary
2 EnvVars)
LogPlayLevel: at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary2 EnvVars) LogPlayLevel: at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable
1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable
1 InChangelistNumberOverride, Dictionary2 InTargetToManifest) LogPlayLevel: at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params) LogPlayLevel: at BuildCookRun.ExecuteBuild() LogPlayLevel: at AutomationTool.BuildCommand.Execute() LogPlayLevel: at AutomationTool.Automation.Execute(List
1 CommandsToExecute, Dictionary2 Commands) LogPlayLevel: at AutomationTool.Automation.Process(String[] Arguments) LogPlayLevel: at AutomationTool.Program.MainProc(Object Param) LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Func
2 Main, Object Param)
LogPlayLevel: at AutomationTool.Program.Main()
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=5 (5)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 9.787984
LogPlayLevel: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error
The specific errors are as follows -
LogPlayLevel: UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\Brandon Santangelo\Documents\repos\BuildingEscape_01\BuildingEscape\Binaries\Win64\BuildingEscape.exe
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.17\Engine\Binaries\DotNET\UnrealBuildTool.exe BuildingEscape Win64 Development -Project=“C:\Users\Brandon Santangelo\Documents\repos\BuildingEscape_01\BuildingEscape\Build
ingEscape.uproject” “C:\Users\Brandon Santangelo\Documents\repos\BuildingEscape_01\BuildingEscape\BuildingEscape.uproject” -NoUBTMakefiles -remoteini=“C:\Users\Brandon Santangelo\Documents\repos\BuildingEscape_01\BuildingEscape” -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2018.09.26-15.57.52.txt’
I saw several solutions online but none of them worked. I adjusted the public dependency module with “GameplayTasks” as several suggested it but I think that’s unrelated to my issue. I have compiled, rebuilt and pretty much everything I can think of. I think I’m close to fixing it but I just wanted to put it in here in case I can’t. Also, the game runs and works perfectly, it’s only when I click the launch button to create the exe file.