UATHelper: Packaging (Windows): libprotobuf.lib(generated_message_util.obj) : error LNK2005

Hello, please help me. I am gettting this error when I enabled MetaHuman plugin. When I close MetaHuman plugin this error dissapears. I need MetaHuman so I need to solve this.
Thank you for help.

UATHelper: Packaging (Windows): ProMainMenuV3.uproject requires a temporary target.cs to be generated (CommonUI plugin is enabled)
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE_5.2\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "C:\Program Files\Epic Games\UE_5.2\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" ProMainMenuV3 Win64 Development -Project="C:\Users\seyha\OneDrive\Belgeler\Unreal Projects\SozyMain\ProMainMenuV3.uproject"  "C:\Users\seyha\OneDrive\Belgeler\Unreal Projects\SozyMain\ProMainMenuV3.uproject" -NoUBTMakefiles  -remoteini="C:\Users\seyha\OneDrive\Belgeler\Unreal Projects\SozyMain"  -skipdeploy  -Manifest="C:\Users\seyha\OneDrive\Belgeler\Unreal Projec
ts\SozyMain\Intermediate\Build\Manifest.xml" -NoHotReload -log="C:\Users\seyha\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-ProMainMenuV3-Win64-Development.txt"
UATHelper: Packaging (Windows): Log file: C:\Users\seyha\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-ProMainMenuV3-Win64-Development.txt
UATHelper: Packaging (Windows): Writing manifest to C:\Users\seyha\OneDrive\Belgeler\Unreal Projects\SozyMain\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows): Building ProMainMenuV3...
UATHelper: Packaging (Windows): Using Visual Studio 2022 14.34.31948 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows): [Upgrade]
UATHelper: Packaging (Windows): [Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
UATHelper: Packaging (Windows): [Upgrade]     IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_0
UATHelper: Packaging (Windows): [Upgrade] Suppress this message by setting 'IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_2;' in ProMainMenuV3.Target.cs.
UATHelper: Packaging (Windows): [Upgrade] Alternatively you can set this to 'EngineIncludeOrderVersion.Latest' to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
UATHelper: Packaging (Windows): [Upgrade]
UATHelper: Packaging (Windows): Determining max actions to execute in parallel (24 physical cores, 32 logical cores)
UATHelper: Packaging (Windows):   Executing up to 24 processes, one per physical core
UATHelper: Packaging (Windows): Building 2 actions with 2 processes...
UATHelper: Packaging (Windows): [1/2] Link [x64] ProMainMenuV3.exe
UATHelper: Packaging (Windows): libprotobuf.lib(repeated_field.obj) : error LNK2005: "public: class google::protobuf::MessageLite * __cdecl google::protobuf::internal::RepeatedPtrFieldBase::AddWeak(class google::protobuf::MessageLite const *)" (?AddWeak@RepeatedPtrFieldBase@internal@protobuf@google@@QEAAPEAVMessageLite@34@PEBV534@@Z) zaten libprotobuf-lite.lib(repeated_field.obj) �zerinde tan�mland�
UATHelper: Packaging (Windows): libprotobuf.lib(repeated_field.obj) : error LNK2005: "protected: void __cdecl google::protobuf::internal::RepeatedPtrFieldBase::CloseGap(int,int)" (?CloseGap@RepeatedPtrFieldBase@internal@protobuf@google@@IEAAXHH@Z) zaten libprotobuf-lite.lib(repeated_field.obj) �zerinde tan�mland�
UATHelper: Packaging (Windows): libprotobuf.lib(repeated_field.obj) : error LNK2005: "private: void * * __cdecl google::protobuf::internal::RepeatedPtrFieldBase::InternalExtend(int)" (?InternalExtend@RepeatedPtrFieldBase@internal@protobuf@google@@AEAAPEAPEAXH@Z) zaten libprotobuf-lite.lib(repeated_field.obj) �zerinde tan�mland�
UATHelper: Packaging (Windows): libprotobuf.lib(repeated_field.obj) : error LNK2005: "protected: void __cdecl google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)" (?Reserve@RepeatedPtrFieldBase@internal@protobuf@google@@IEAAXH@Z) zaten libprotobuf-lite.lib(repeated_field.obj) �zerinde tan�mland�
UATHelper: Packaging (Windows): libprotobuf.lib(generated_message_util.obj) : error LNK2005: "bool __cdecl google::protobuf::internal::IsNull<9>(void const *)" (??$IsNull@$08@internal@protobuf@google@@YA_NPEBX@Z) zaten libprotobuf-lite.lib(generated_message_util.obj) �zerinde tan�mland�
UATHelper: Packaging (Windows): libprotobuf.lib(generated_message_util.obj) : error LNK2005: "bool __cdecl google::protobuf::internal::IsNull<10>(void const *)" (??$IsNull@$09@internal@protobuf@google@@YA_NPEBX@Z) zaten libprotobuf-lite.lib(generated_message_util.obj) �zerinde tan�mland�
UATHelper: Packaging (Windows): libprotobuf.lib(generated_message_util.obj) : error LNK2005: "bool __cdecl google::protobuf::internal::IsNull<11>(void const *)" (??$IsNull@$0L@@internal@protobuf@google@@YA_NPEBX@Z) zaten libprotobuf-lite.lib(generated_message_util.obj) �zerinde tan�mland�
UATHelper: Packaging (Windows): libprotobuf.lib(generated_message_util.obj) : error LNK2005: "bool __cdecl google::protobuf::internal::IsNull<12>(void const *)" (??$IsNull@$0M@@internal@protobuf@google@@YA_NPEBX@Z) zaten libprotobuf-lite.lib(generated_message_util.obj) �zerinde tan�mland�
UATHelper: Packaging (Windows): libprotobuf.lib(generated_message_util.obj) : error LNK2005: "public: static int __cdecl google::protobuf::internal::FieldMetadata::CalculateType(int,enum google::protobuf::internal::FieldMetadata::FieldTypeClass)" (?CalculateType@FieldMetadata@internal@protobuf@google@@SAHHW4FieldTypeClass@1234@@Z) zaten libprotobuf-lite.lib(generated_message_util.obj) �zerinde tan�mland�
UATHelper: Packaging (Windows): Took 9,3813312s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\seyha\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-ProMainMenuV3-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

I noticed Metahuman plugin is just editor plugin. You can disable it and package the project

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.