I’ve been working on my game that I have created with blueprints. And now i recently added theese ai npcs with the help of the inworld plugin. But this required me to add c++ to my project as the plugin is based on c++ files i think. Now when I’m trying to package my project I get an error that more files than neccessary are included in some c++ file but I don’t know wich one or how to find out how to fix it. Here is the error message I get when I try to package my project
UATHelper: Packaging (Windows): ------ Building 2 action(s) started ------
UATHelper: Packaging (Windows): [1/2] Link [x64] MyLowPolyGame-Win64-Shipping.exe
UATHelper: Packaging (Windows): gpr.lib(string.obj) : error LNK2005: “class std::basic_string<char,struct std::char_traits,class std::allocator > __cdecl gpr_format_timespec(struct gpr_timespec)” (?gpr_format_timespec@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@Ugpr_timespec@@@Z) already defined in gpr.lib(string.obj)
UATHelper: Packaging (Windows): gpr.lib(string.obj) : error LNK2005: gpr_strdup already defined in gpr.lib(string.obj)
UATHelper: Packaging (Windows): absl_spinlock_wait.lib(spinlock_wait.obj) : error LNK2005: “int __cdecl absl::lts_2020_09_23::base_internal::SpinLockSuggestedDelayNS(int)” (?SpinLockSuggestedDelayNS@base_internal@lts_2020_09_23@absl@@YAHH@Z) already defined in absl_spinlock_wait.lib(spinlock_wait.obj)
UATHelper: Packaging (Windows): absl_spinlock_wait.lib(spinlock_wait.obj) : error LNK2005: “unsigned int __cdecl absl::lts_2020_09_23::base_internal::SpinLockWait(struct std::atomic *,int,struct absl::lts_2020_09_23::base_internal::SpinLockWaitTransition const * const,enum absl::lts_2020_09_23::base_internal::SchedulingMode)” (?SpinLockWait@base_internal@lts_2020_09_23@absl@@YAIPEAU?$atomic@I@std@@HQEBUSpinLockWaitTransition@123@W4SchedulingMode@123@@Z) already defined in absl_spinlock_wait.lib(spinlock_wait.obj)
UATHelper: Packaging (Windows): Creating library E:\UE5\MyLowPolyGame\Binaries\Win64\MyLowPolyGame-Win64-Shipping.lib and object E:\UE5\MyLowPolyGame\Binaries\Win64\MyLowPolyGame-Win64-Shipping.exp
UATHelper: Packaging (Windows): E:\UE5\MyLowPolyGame\Binaries\Win64\MyLowPolyGame-Win64-Shipping.exe : fatal error LNK1169: one or more multiply defined symbols found
UATHelper: Packaging (Windows): Total time in Parallel executor: 13.20 seconds
UATHelper: Packaging (Windows): Total execution time: 15.73 seconds
UATHelper: Packaging (Windows): Took 15,98s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\ivarg\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Epic+Games+UE_5.3\UBT-MyLowPolyGame-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 18s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error