Packaging gives exit code 6 when using dungeon architect plugin!

Packaging gives me the exit code 6 when using dungeon architect. I tried a new project, it packaged normally, but when i activated the dungeon architect plugin it started giving me the following error:UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: C:\Users\victo\OneDrive\UE_5.5\Engine\Binaries\ThirdParty\DotNet\8.0.300\win-x64\dotnet.exe “C:\Users\victo\OneDrive\UE_5.5\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” packagetest Win64 Shipping -Project=“C:\Users\victo\OneDrive\Documente\Unreal Projects\packagetest\packagetest.uproject” -Manifest=“C:\Users\victo\OneDrive\Documente\Unreal Projects\packagetest\Intermediate\Build\Manifest.xml” -remoteini=“C:\Users\victo\OneDrive\Documente\Unreal Projects\packagetest” -skipdeploy -log=“C:\Users\victo\AppData\Roaming\Unreal Engine\Automat
ionTool\Logs\C+Users+victo+OneDrive+UE_5.5\UBA-packagetest-Win64-Shipping.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\victo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Users+victo+OneDrive+UE_5.5\UBA-packagetest-Win64-Shipping.txt
UATHelper: Packaging (Windows): Creating makefile for packagetest (.uproject file is newer)
UATHelper: Packaging (Windows): Writing manifest to C:\Users\victo\OneDrive\Documente\Unreal Projects\packagetest\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows): Building packagetest…
UATHelper: Packaging (Windows): Using Visual Studio 2022 14.38.33145 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows): [Adaptive Build] Excluded from packagetest unity file: packagetest.cpp
UATHelper: Packaging (Windows): Determining max actions to execute in parallel (10 physical cores, 16 logical cores)
UATHelper: Packaging (Windows): Executing up to 10 processes, one per physical core
UATHelper: Packaging (Windows): Requested 1.5 GB memory per action, 4.87 GB available: limiting max parallel actions to 3
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: 250530_153413 ----
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] packagetest-Win64-Shipping.exe
UATHelper: Packaging (Windows): Module.DungeonArchitectRuntime.18.cpp.obj : error LNK2005: "public: virtual bool __cdecl IPCGElement::ShouldVerifyIfOutputsAreUsedMultipleTimes(class UPCGSettings const *)const " (?ShouldVerifyIfOutputsAreUsedMultipleTimes@IPCGElement@@UEBA_NPEBVUPCGSettings@@@Z) already defined in Module.PCG.13.cpp.obj
UATHelper: Packaging (Windows): Module.DungeonArchitectRuntime.19.cpp.obj : error LNK2005: "public: virtual bool __cdecl IPCGElement::ShouldVerifyIfOutputsAreUsedMultipleTimes(class UPCGSettings const *)const " (?ShouldVerifyIfOutputsAreUsedMultipleTimes@IPCGElement@@UEBA_NPEBVUPCGSettings@@@Z) already defined in Module.PCG.13.cpp.obj
UATHelper: Packaging (Windows): Module.DungeonArchitectRuntime.18.cpp.obj : error LNK2019: unresolved external symbol "public: struct UE::Math::TTransform __cdecl UDungeonForgeLayoutTextureData::GetTextureWorldTransform(void)const " (?GetTextureWorldTransform@UDungeonForgeLayoutTextureData@@QEBA?AU?$TTransform@N@Math@UE@@XZ) referenced in function "protected: virtual bool __cdecl FPCGForgeLayoutTextureSamplerElement::ExecuteInternal(struct FPCGContext *)const " (?ExecuteInternal@FPCGForgeLayoutTextureSamplerElement@@MEBA_NPEAUFPCGContext@@@Z)
UATHelper: Packaging (Windows): C:\Users\victo\OneDrive\Documente\Unreal Projects\packagetest\Binaries\Win64\packagetest-Win64-Shipping.exe : fatal error LNK1120: 1 unresolved externals
UATHelper: Packaging (Windows): Trace file written to C:/Users/victo/AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Users+victo+OneDrive+UE_5.5/UBA-packagetest-Win64-Shipping.uba with size 4.8kb
UATHelper: Packaging (Windows): Total time in Unreal Build Accelerator local executor: 16.57 seconds
UATHelper: Packaging (Windows): Total execution time: 23.81 seconds
UATHelper: Packaging (Windows): Took 24.11s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\victo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Users+victo+OneDrive+UE_5.5\UBA-packagetest-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 27s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
LogStreaming: Display: FlushAsyncLoading(417): 1 QueuedPackages, 0 AsyncPackages
PackagingResults: Error: Unknown Error

Hello there @VICTOROBERT1234!

Checking through your log, the strings of errors encountered suggest that Dungeon Architect includes older and/or modified code, and that certain definitions are missing and/or incorrect. Both problems stir, at least initially, from adding the plugin to your build. So the first solution would be to remove the plugin and pack your project, but this is most likely not the ideal option. Let’s tackle a few options for resolution:

  • Make sure your plugin is update to the latest possible version, as its changelog mentions that fixes were implemented specifically for packaging around March:
  • CRITICAL FIX: Resolved packaging and standalone build failures caused by Engine Upgrade from 5.5.3 to 5.5.4

(Full changelog can be found here)

  • Check your Build.cs for any missing dependencies

  • Clear cache of your project, via deleting Binaries and Intermediate folders, then re-generate your project files from .uproject

  • If you are at latest version for the plugin, and the issue still occurs after these fixes, try to reach the developer in GitHub