Hello,
I am encountering an issue while attempting to package a project that uses the MetaHuman plugin in Unreal Engine 5.2 and 5.4. The project builds and packages successfully when the MetaHuman plugin is disabled, but as soon as I enable it and put the MetaHuman into the project, the packaging process fails.
To be safe I tried it with both version 5.2 and 5.4, but had no luck. I also tried it in a few different PCs and with different accounts, but still nothing.
Here are the final few lines of the output log showcasing the error:
UATHelper: Packaging (Windows): Creating library C:\Users\User\Documents\Unreal Projects\MetaTestBuild\Binaries\Win64\MetaTestBuild.lib and object C:\Users\User\Documents\Unreal Projects\MetaTestBuild\Binaries\Win64\MetaTestBuild.exp
UATHelper: Packaging (Windows): C:\Users\User\Documents\Unreal Projects\MetaTestBuild\Binaries\Win64\MetaTestBuild.exe : fatal error LNK1169: one or more multiply defined symbols found
UATHelper: Packaging (Windows): [2/2] WriteMetadata MetaTestBuild.target cancelled
UATHelper: Packaging (Windows): Took 12.5475129s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-MetaTestBuild-Win64-Development.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 14s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error