Windows project won't build since I added a MetaHuman

Why I can find similar issues online, still trying to make this work after 3 days of errors. I created a metahuman using the Local Creator, it all seems to work, but won’t compile. Below is the contents of my output Window:

LogUObjectHash: Compacting FUObjectHashTables data took 0.65ms
LogTurnkeySupport: Project requires temp target (GameplayStateTree plugin is enabled)
LogLauncherProfile: Unable to use promoted target - D:/UE5/Unreal Projects/MyProject2/Binaries/Win64/UnrealGame.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““C:/Program Files/Epic Games/UE_5.6/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“D:/UE5/Unreal Projects/MyProject2/MyProject2.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=54033 -project=“D:/UE5/Unreal Projects/MyProject2/MyProject2.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“D:/UE5/Unreal Projects/MyProject2/MyProject2.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.6\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform
=Win64 -installed -zenstore -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=“D:/UE5/Unreal Projects/MyProject2” -clientconfig=Development” -nocompile -nocompileuat ]
UATHelper: Packaging (Windows): Running AutomationTool…
UATHelper: Packaging (Windows): Using bundled DotNet SDK version: 8.0.300 win-x64
UATHelper: Packaging (Windows): Starting AutomationTool…
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject=“D:/UE5/Unreal Projects/MyProject2/MyProject2.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=54033 -project=“D:/UE5/Unreal Projects/MyProject2/MyProject2.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“D:/UE5/Unreal Projects/MyProject2/MyProject2.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.6\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -zenstore -stage -archive -package -build -pak -iostore -compre
ssed -prereqs -archivedirectory=“D:/UE5/Unreal Projects/MyProject2” -clientconfig=Development -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.25 s.
UATHelper: Packaging (Windows): Using C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe
UATHelper: Packaging (Windows): Executing commands…
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.19041.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.22621.0, Allowed_AutoSdk=10.0.22621.0, Current_AutoSdk=, Flags=“InstalledSdk_ValidVersionExists, Sdk_HasBestVersion”)
UATHelper: Packaging (Windows): Scanning for envvar changes…
UATHelper: Packaging (Windows): … done!
UATHelper: Packaging (Windows): Cleaning Temp Paths…
UATHelper: Packaging (Windows): BUILD SUCCESSFUL
UATHelper: Packaging (Windows): Setting up ProjectParams for D:\UE5\Unreal Projects\MyProject2\MyProject2.uproject
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE_5.6\Engine\Binaries\ThirdParty\DotNet\8.0.300\win-x64\dotnet.exe “C:\Program Files\Epic Games\UE_5.6\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” MyProject2 Win64 Development -Project=“D:\UE5\Unreal Projects\MyProject2\MyProject2.uproject” -Manifest=“D:\UE5\Unreal Projects\MyProject2\Intermediate\Build\Manifest.xml” -remoteini=“D:\UE5\Unreal Projects\MyProject2” -skipdeploy -log=“C:\Users\Jim Hudson\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-MyProject2-Win64-De
velopment.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\Jim Hudson\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-MyProject2-Win64-Development.txt
UATHelper: Packaging (Windows): Creating makefile for MyProject2 (manifest ‘D:\UE5\Unreal Projects\MyProject2\Intermediate\Build\Manifest.xml’ not found)
UATHelper: Packaging (Windows): Available x64 toolchains (1):
UATHelper: Packaging (Windows): * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207
UATHelper: Packaging (Windows): (Family=14.44.35207, FamilyRank=1, Version=14.44.35216, HostArchitecture=x64, ReleaseChannel=Latest, Architecture=x64)
UATHelper: Packaging (Windows): Visual Studio 2022 compiler version 14.44.35216 is not a preferred version. Please use the latest preferred version 14.38.33130
UATHelper: Packaging (Windows): Writing manifest to D:\UE5\Unreal Projects\MyProject2\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows): Building MyProject2…
UATHelper: Packaging (Windows): Using Visual Studio 2022 14.44.35216 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows): Warning: Visual Studio 2022 compiler is not a preferred version
UATHelper: Packaging (Windows): [Adaptive Build] Excluded from MyProject2 unity file: MyProject2.cpp
UATHelper: Packaging (Windows): Determining max actions to execute in parallel (12 physical cores, 20 logical cores)
UATHelper: Packaging (Windows): Executing up to 12 processes, one per physical core
PackagingResults: Warning: Visual Studio 2022 compiler is not a preferred version
UATHelper: Packaging (Windows): Using Unreal Build Accelerator local executor to run 2 action(s)
UATHelper: Packaging (Windows): Storage capacity 40Gb
UATHelper: Packaging (Windows): ---- Starting trace: 250913_162216 ----
UATHelper: Packaging (Windows): UbaSessionServer - Disable remote execution (remote sessions will finish current processes)
UATHelper: Packaging (Windows): ------ Building 2 action(s) started ------
UATHelper: Packaging (Windows): [1/2] Link [x64] MyProject2.exe
UATHelper: Packaging (Windows): Module.GeneSplicerModule.cpp.obj : error LNK2005: “public: __cdecl FArchiveMemoryStream::FArchiveMemoryStream(class FArchive *)” (??0FArchiveMemoryStream@@QEAA@PEAVFArchive@@@Z) already defined in Module.RigLogicModule.cpp.obj
UATHelper: Packaging (Windows): Module.GeneSplicerModule.cpp.obj : error LNK2005: “public: virtual void __cdecl FArchiveMemoryStream::close(void)” (?close@FArchiveMemoryStream@@UEAAXXZ) already defined in Module.RigLogicModule.cpp.obj
UATHelper: Packaging (Windows): Module.GeneSplicerModule.cpp.obj : error LNK2005: “public: virtual void __cdecl FArchiveMemoryStream::open(void)” (?open@FArchiveMemoryStream@@UEAAXXZ) already defined in Module.RigLogicModule.cpp.obj
UATHelper: Packaging (Windows): Module.GeneSplicerModule.cpp.obj : error LNK2005: “public: virtual unsigned __int64 __cdecl FArchiveMemoryStream::read(char *,unsigned __int64)” (?read@FArchiveMemoryStream@@UEAA_KPEAD_K@Z) already defined in Module.RigLogicModule.cpp.obj
UATHelper: Packaging (Windows): Module.GeneSplicerModule.cpp.obj : error LNK2005: “public: virtual unsigned __int64 __cdecl FArchiveMemoryStream::read(class trio::Writable *,unsigned __int64)” (?read@FArchiveMemoryStream@@UEAA_KPEAVWritable@trio@@_K@Z) already defined in Module.RigLogicModule.cpp.obj
UATHelper: Packaging (Windows): Module.GeneSplicerModule.cpp.obj : error LNK2005: “public: virtual void __cdecl FArchiveMemoryStream::seek(unsigned __int64)” (?seek@FArchiveMemoryStream@@UEAAX_K@Z) already defined in Module.RigLogicModule.cpp.obj
UATHelper: Packaging (Windows): Module.GeneSplicerModule.cpp.obj : error LNK2005: “public: virtual unsigned __int64 __cdecl FArchiveMemoryStream::size(void)” (?size@FArchiveMemoryStream@@UEAA_KXZ) already defined in Module.RigLogicModule.cpp.obj
UATHelper: Packaging (Windows): Module.GeneSplicerModule.cpp.obj : error LNK2005: “public: virtual unsigned __int64 __cdecl FArchiveMemoryStream::tell(void)” (?tell@FArchiveMemoryStream@@UEAA_KXZ) already defined in Module.RigLogicModule.cpp.obj
UATHelper: Packaging (Windows): Module.GeneSplicerModule.cpp.obj : error LNK2005: “public: virtual unsigned __int64 __cdecl FArchiveMemoryStream::write(class trio::Readable *,unsigned __int64)” (?write@FArchiveMemoryStream@@UEAA_KPEAVReadable@trio@@_K@Z) already defined in Module.RigLogicModule.cpp.obj
UATHelper: Packaging (Windows): Module.GeneSplicerModule.cpp.obj : error LNK2005: “public: virtual unsigned __int64 __cdecl FArchiveMemoryStream::write(char const *,unsigned __int64)” (?write@FArchiveMemoryStream@@UEAA_KPEBD_K@Z) already defined in Module.RigLogicModule.cpp.obj
UATHelper: Packaging (Windows): Module.MetaHumanCoreTech.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl UMetaHumanRealtimeSmoothingParams::PostInitProperties(void)” (?PostInitProperties@UMetaHumanRealtimeSmoothingParams@@UEAAXXZ)
UATHelper: Packaging (Windows): Module.CaptureDataUtils.cpp.obj : error LNK2019: unresolved external symbol “public: static void __cdecl UImageSequenceTimecodeUtils::SetTimecodeInfo(struct FTimecode const &,struct FFrameRate const &,class UImgMediaSource *)” (?SetTimecodeInfo@UImageSequenceTimecodeUtils@@SAXAEBUFTimecode@@AEBUFFrameRate@@PEAVUImgMediaSource@@@Z) referenced in function “public: static void __cdecl UImageSequenceTimecodeUtils::execSetTimecodeInfo(class UObject *,struct FFrame &,void * const)” (?execSetTimecodeInfo@UImageSequenceTimecodeUtils@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
UATHelper: Packaging (Windows): Module.CaptureDataUtils.cpp.obj : error LNK2019: unresolved external symbol “public: static void __cdecl UImageSequenceTimecodeUtils::SetTimecodeInfoString(class FString const &,class FString const &,class UImgMediaSource *)” (?SetTimecodeInfoString@UImageSequenceTimecodeUtils@@SAXAEBVFString@@0PEAVUImgMediaSource@@@Z) referenced in function “public: static void __cdecl UImageSequenceTimecodeUtils::execSetTimecodeInfoString(class UObject *,struct FFrame &,void * const)” (?execSetTimecodeInfoString@UImageSequenceTimecodeUtils@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
UATHelper: Packaging (Windows): Module.CaptureDataUtils.cpp.obj : error LNK2019: unresolved external symbol “public: static struct FTimecode __cdecl UImageSequenceTimecodeUtils::GetTimecode(class UImgMediaSource *)” (?GetTimecode@UImageSequenceTimecodeUtils@@SA?AUFTimecode@@PEAVUImgMediaSource@@@Z) referenced in function “public: static void __cdecl UImageSequenceTimecodeUtils::execGetTimecode(class UObject *,struct FFrame &,void * const)” (?execGetTimecode@UImageSequenceTimecodeUtils@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
UATHelper: Packaging (Windows): Module.CaptureDataCore.cpp.obj : error LNK2001: unresolved external symbol “public: static struct FTimecode __cdecl UImageSequenceTimecodeUtils::GetTimecode(class UImgMediaSource *)” (?GetTimecode@UImageSequenceTimecodeUtils@@SA?AUFTimecode@@PEAVUImgMediaSource@@@Z)
UATHelper: Packaging (Windows): Module.CaptureDataUtils.cpp.obj : error LNK2019: unresolved external symbol “public: static struct FFrameRate __cdecl UImageSequenceTimecodeUtils::GetFrameRate(class UImgMediaSource *)” (?GetFrameRate@UImageSequenceTimecodeUtils@@SA?AUFFrameRate@@PEAVUImgMediaSource@@@Z) referenced in function “public: static void __cdecl UImageSequenceTimecodeUtils::execGetFrameRate(class UObject *,struct FFrame &,void * const)” (?execGetFrameRate@UImageSequenceTimecodeUtils@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
UATHelper: Packaging (Windows): Module.CaptureDataCore.cpp.obj : error LNK2001: unresolved external symbol “public: static struct FFrameRate __cdecl UImageSequenceTimecodeUtils::GetFrameRate(class UImgMediaSource *)” (?GetFrameRate@UImageSequenceTimecodeUtils@@SA?AUFFrameRate@@PEAVUImgMediaSource@@@Z)
UATHelper: Packaging (Windows): Module.CaptureDataUtils.cpp.obj : error LNK2019: unresolved external symbol “public: static class FString __cdecl UImageSequenceTimecodeUtils::GetTimecodeString(class UImgMediaSource *)” (?GetTimecodeString@UImageSequenceTimecodeUtils@@SA?AVFString@@PEAVUImgMediaSource@@@Z) referenced in function “public: static void __cdecl UImageSequenceTimecodeUtils::execGetTimecodeString(class UObject *,struct FFrame &,void * const)” (?execGetTimecodeString@UImageSequenceTimecodeUtils@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
UATHelper: Packaging (Windows): Module.CaptureDataUtils.cpp.obj : error LNK2019: unresolved external symbol “public: static class FString __cdecl UImageSequenceTimecodeUtils::GetFrameRateString(class UImgMediaSource *)” (?GetFrameRateString@UImageSequenceTimecodeUtils@@SA?AVFString@@PEAVUImgMediaSource@@@Z) referenced in function “public: static void __cdecl UImageSequenceTimecodeUtils::execGetFrameRateString(class UObject *,struct FFrame &,void * const)” (?execGetFrameRateString@UImageSequenceTimecodeUtils@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
UATHelper: Packaging (Windows): Module.CaptureDataUtils.cpp.obj : error LNK2019: unresolved external symbol “public: static void __cdecl USoundWaveTimecodeUtils::SetTimecodeInfo(struct FTimecode const &,struct FFrameRate const &,class USoundWave *)” (?SetTimecodeInfo@USoundWaveTimecodeUtils@@SAXAEBUFTimecode@@AEBUFFrameRate@@PEAVUSoundWave@@@Z) referenced in function “public: static void __cdecl USoundWaveTimecodeUtils::execSetTimecodeInfo(class UObject *,struct FFrame &,void * const)” (?execSetTimecodeInfo@USoundWaveTimecodeUtils@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
UATHelper: Packaging (Windows): Module.CaptureDataCore.cpp.obj : error LNK2001: unresolved external symbol “public: static void __cdecl USoundWaveTimecodeUtils::SetTimecodeInfo(struct FTimecode const &,struct FFrameRate const &,class USoundWave *)” (?SetTimecodeInfo@USoundWaveTimecodeUtils@@SAXAEBUFTimecode@@AEBUFFrameRate@@PEAVUSoundWave@@@Z)
UATHelper: Packaging (Windows): Module.CaptureDataUtils.cpp.obj : error LNK2019: unresolved external symbol “public: static struct FTimecode __cdecl USoundWaveTimecodeUtils::GetTimecode(class USoundWave const *)” (?GetTimecode@USoundWaveTimecodeUtils@@SA?AUFTimecode@@PEBVUSoundWave@@@Z) referenced in function “public: static void __cdecl USoundWaveTimecodeUtils::execGetTimecode(class UObject *,struct FFrame &,void * const)” (?execGetTimecode@USoundWaveTimecodeUtils@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
UATHelper: Packaging (Windows): Module.CaptureDataCore.cpp.obj : error LNK2001: unresolved external symbol “public: static struct FTimecode __cdecl USoundWaveTimecodeUtils::GetTimecode(class USoundWave const *)” (?GetTimecode@USoundWaveTimecodeUtils@@SA?AUFTimecode@@PEBVUSoundWave@@@Z)
UATHelper: Packaging (Windows): Module.CaptureDataUtils.cpp.obj : error LNK2019: unresolved external symbol “public: static struct FFrameRate __cdecl USoundWaveTimecodeUtils::GetFrameRate(class USoundWave const *)” (?GetFrameRate@USoundWaveTimecodeUtils@@SA?AUFFrameRate@@PEBVUSoundWave@@@Z) referenced in function “public: static void __cdecl USoundWaveTimecodeUtils::execGetFrameRate(class UObject *,struct FFrame &,void * const)” (?execGetFrameRate@USoundWaveTimecodeUtils@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
UATHelper: Packaging (Windows): Module.CaptureDataCore.cpp.obj : error LNK2001: unresolved external symbol “public: static struct FFrameRate __cdecl USoundWaveTimecodeUtils::GetFrameRate(class USoundWave const *)” (?GetFrameRate@USoundWaveTimecodeUtils@@SA?AUFFrameRate@@PEBVUSoundWave@@@Z)
UATHelper: Packaging (Windows): Module.CaptureDataCore.cpp.obj : error LNK2019: unresolved external symbol “public: static bool __cdecl UImageSequenceTimecodeUtils::IsValidTimecodeInfo(struct FTimecode const &,struct FFrameRate const &)” (?IsValidTimecodeInfo@UImageSequenceTimecodeUtils@@SA_NAEBUFTimecode@@AEBUFFrameRate@@@Z) referenced in function "private: void __cdecl UFootageCaptureData::GetDefaultTimecodeInfo(struct FTimecode &,struct FFrameRate &)const " (?GetDefaultTimecodeInfo@UFootageCaptureData@@AEBAXAEAUFTimecode@@AEAUFFrameRate@@@Z)
UATHelper: Packaging (Windows): Module.CaptureDataCore.cpp.obj : error LNK2019: unresolved external symbol “public: static bool __cdecl UImageSequenceTimecodeUtils::IsValidTimecode(struct FTimecode const &)” (?IsValidTimecode@UImageSequenceTimecodeUtils@@SA_NAEBUFTimecode@@@Z) referenced in function "public: struct FTimecode __cdecl UFootageCaptureData::GetEffectiveDepthTimecode(int)const " (?GetEffectiveDepthTimecode@UFootageCaptureData@@QEBA?AUFTimecode@@H@Z)
UATHelper: Packaging (Windows): Module.CaptureDataCore.cpp.obj : error LNK2019: unresolved external symbol “public: static bool __cdecl UImageSequenceTimecodeUtils::IsValidFrameRate(struct FFrameRate const &)” (?IsValidFrameRate@UImageSequenceTimecodeUtils@@SA_NAEBUFFrameRate@@@Z) referenced in function "public: struct FFrameRate __cdecl UFootageCaptureData::GetEffectiveDepthTimecodeRate(int)const " (?GetEffectiveDepthTimecodeRate@UFootageCaptureData@@QEBA?AUFFrameRate@@H@Z)
UATHelper: Packaging (Windows): D:\UE5\Unreal Projects\MyProject2\Binaries\Win64\MyProject2.exe : fatal error LNK1120: 13 unresolved externals
UATHelper: Packaging (Windows): Trace written to file C:/Users/Jim Hudson/AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+Epic+Games+UE_5.6/UBA-MyProject2-Win64-Development.uba with size 13.1kb
UATHelper: Packaging (Windows): Total time in Unreal Build Accelerator local executor: 6.94 seconds
UATHelper: Packaging (Windows): Result: Failed (OtherCompilationError)
UATHelper: Packaging (Windows): Total execution time: 9.07 seconds
UATHelper: Packaging (Windows): Took 9.16s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\Jim Hudson\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-MyProject2-Win64-Development.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 10s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

There is your problem like everyone else, Install 14.38 toolchain and delete C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207 folder. You have to delete it because if you try to uninstall it through the Visual Studio Installer 14.44.35216 it will uninstall others important components need by Unreal.

3 Likes

Thank you, I’ll give it a try