Packing Failed Unknown Error

Hi all,
While working with Unreal Engine 5.6 version, I encountered an issue while creating and testing a map. After performing the project packaging operation, an error occurred, as indicated by the log output: “Unknown error” and two additional errors related to the “Binaries” directory.

After thoroughly studying the documentation and tutorials, as well as performing the following steps:

  1. Installing Visual Studio.
  2. Updating the SDK.
  3. Adjusting the packaging settings.
  4. Deleting the “Saved”, “Intermediate”, and “Binaries” directories,

the issue has not been resolved. In the error message, after deleting the “Binaries” directory, there is information about the absence of the required file in this folder, although there is no such folder in the system.

For further analysis and solution, I am ready to provide the data log related to the packaging process. If a full data log is required, please let me know.
Starting AutomationTool…
UATHelper: Упаковка (Windows): Parsing command line: -ScriptsForProject=“C:/Users/GamingPC/Documents/Unreal Projects/RealBackrooms/RealBackrooms.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=49496 -project=“C:/Users/GamingPC/Documents/Unreal Projects/RealBackrooms/RealBackrooms.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“C:/Users/GamingPC/Documents/Unreal Projects/RealBackrooms/RealBackrooms.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.6\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=
Win64 -installed -stage -archive -package -build -pak -compressed -prereqs -archivedirectory=C:/Users/GamingPC/Documents -distribution -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat
UATHelper: Упаковка (Windows): Initializing script modules…
UATHelper: Упаковка (Windows): Total script module initialization time: 0.72 s.
UATHelper: Упаковка (Windows): Using C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe
UATHelper: Упаковка (Windows): Executing commands…
UATHelper: Упаковка (Windows): Installed Sdk validity:
UATHelper: Упаковка (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: Упаковка (Windows): Scanning for envvar changes…
UATHelper: Упаковка (Windows): … done!
UATHelper: Упаковка (Windows): Cleaning Temp Paths…
UATHelper: Упаковка (Windows): BUILD SUCCESSFUL
UATHelper: Упаковка (Windows): Setting up ProjectParams for C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms\RealBackrooms.uproject
UATHelper: Упаковка (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Упаковка (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” RealBackrooms Win64 Shipping -Project=“C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms\RealBackrooms.uproject” -Manifest=“C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms\Intermediate\Build\Manifest.xml” -remoteini=“C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms” -skipdeploy -distribution -log=“C:\Users\GamingPC\AppData\Roaming\Unrea
l Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-RealBackrooms-Win64-Shipping.txt”
UATHelper: Упаковка (Windows): Log file: C:\Users\GamingPC\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-RealBackrooms-Win64-Shipping.txt
UATHelper: Упаковка (Windows): Using ‘git status’ to determine working set for adaptive non-unity build (C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms).
UATHelper: Упаковка (Windows): Creating makefile for RealBackrooms (no existing makefile)
UATHelper: Упаковка (Windows): Available x64 toolchains (2):
UATHelper: Упаковка (Windows): * C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207
UATHelper: Упаковка (Windows): (Family=14.44.35207, FamilyRank=1, Version=14.44.35214, HostArchitecture=x64, ReleaseChannel=Latest, Architecture=x64)
UATHelper: Упаковка (Windows): * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207
UATHelper: Упаковка (Windows): (Family=14.44.35207, FamilyRank=1, Version=14.44.35214, HostArchitecture=x64, ReleaseChannel=Latest, Architecture=x64)
UATHelper: Упаковка (Windows): Visual Studio 2022 compiler version 14.44.35214 is not a preferred version. Please use the latest preferred version 14.38.33130
UATHelper: Упаковка (Windows): Writing manifest to C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms\Intermediate\Build\Manifest.xml
UATHelper: Упаковка (Windows): ERROR: Non-editor build cannot depend on non-redistributable modules. C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms\Binaries\Win64\RealBackrooms-Win64-Shipping.exe depends on ‘MessageLog’.
UATHelper: Упаковка (Windows): Dependant modules ‘DNACalibModule’
PackagingResults: Error: Non-editor build cannot depend on non-redistributable modules. C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms\Binaries\Win64\RealBackrooms-Win64-Shipping.exe depends on ‘MessageLog’.
UATHelper: Упаковка (Windows): Non-editor build cannot depend on non-redistributable modules.
UATHelper: Упаковка (Windows): Result: Failed (OtherCompilationError)
UATHelper: Упаковка (Windows): Total execution time: 8.82 seconds
UATHelper: Упаковка (Windows): Took 9.02s to run dotnet.exe, ExitCode=6
UATHelper: Упаковка (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\GamingPC\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-RealBackrooms-Win64-Shipping.txt)
UATHelper: Упаковка (Windows): AutomationTool executed for 0h 0m 14s
UATHelper: Упаковка (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Упаковка (Windows): BUILD FAILED
LogStreaming: Display: FlushAsyncLoading(1631): 1 QueuedPackages, 0 AsyncPackages
PackagingResults: Error: Unknown Error

Just install the latest preferred version 14.38.33130.

Thanks, I’ll write to you if I can.

Unfortunately, it didn’t work out, but I’ll send you the output log again.
per: Упаковка (Windows): Starting AutomationTool…
UATHelper: Упаковка (Windows): Parsing command line: -ScriptsForProject=“C:/Users/GamingPC/Documents/Unreal Projects/RealBackrooms/RealBackrooms.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=63064 -project=“C:/Users/GamingPC/Documents/Unreal Projects/RealBackrooms/RealBackrooms.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“C:/Users/GamingPC/Documents/Unreal Projects/RealBackrooms/RealBackrooms.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.6\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=
Win64 -installed -stage -archive -package -build -pak -compressed -prereqs -archivedirectory=C:/Users/GamingPC/Documents -distribution -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat
UATHelper: Упаковка (Windows): Initializing script modules…
UATHelper: Упаковка (Windows): Total script module initialization time: 0.80 s.
UATHelper: Упаковка (Windows): Using C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe
UATHelper: Упаковка (Windows): Executing commands…
UATHelper: Упаковка (Windows): Installed Sdk validity:
UATHelper: Упаковка (Windows): Win64: (Status=Invalid, MinAllowed_Sdk=10.0.19041.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=, Allowed_AutoSdk=10.0.22621.0, Current_AutoSdk=, Flags=“Platform_ValidHostPrerequisites”)
UATHelper: Упаковка (Windows): Will install ‘’
UATHelper: Упаковка (Windows): Scanning for envvar changes…
UATHelper: Упаковка (Windows): … done!
UATHelper: Упаковка (Windows): Cleaning Temp Paths…
UATHelper: Упаковка (Windows): BUILD SUCCESSFUL
UATHelper: Упаковка (Windows): Setting up ProjectParams for C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms\RealBackrooms.uproject
UATHelper: Упаковка (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Упаковка (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” RealBackrooms Win64 Shipping -Project=“C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms\RealBackrooms.uproject” -Manifest=“C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms\Intermediate\Build\Manifest.xml” -remoteini=“C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms” -skipdeploy -distribution -log=“C:\Users\GamingPC\AppData\Roaming\Unrea
l Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-RealBackrooms-Win64-Shipping.txt”
UATHelper: Упаковка (Windows): Log file: C:\Users\GamingPC\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-RealBackrooms-Win64-Shipping.txt
UATHelper: Упаковка (Windows): Using ‘git status’ to determine working set for adaptive non-unity build (C:\Users\GamingPC\Documents\Unreal Projects\RealBackrooms).
UATHelper: Упаковка (Windows): Creating makefile for RealBackrooms (no existing makefile)
UATHelper: Упаковка (Windows): Platform Win64 is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platform support files (DataDrivenPlatformInfo.ini, SDK.json, etc).
UATHelper: Упаковка (Windows): Result: Failed (OtherCompilationError)
UATHelper: Упаковка (Windows): Total execution time: 3.58 seconds
UATHelper: Упаковка (Windows): Took 4.41s to run dotnet.exe, ExitCode=6
UATHelper: Упаковка (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\GamingPC\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-RealBackrooms-Win64-Shipping.txt)
UATHelper: Упаковка (Windows): AutomationTool executed for 0h 0m 10s
UATHelper: Упаковка (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Упаковка (Windows): BUILD FAILED
LogStreaming: Display: FlushAsyncLoading(1833): 1 QueuedPackages, 0 AsyncPackages
PackagingResults: Error: Unknown Error

  1. Are you on Windows?
  1. Now it seems the problem is the SDK. Check if you have the match bellow.

  1. Did you removed the other compiler version? if don’t, please do.
  1. Yes, I have Windows . You also said that Win64 should not be used, so could you tell me which one is better?
  2. I updated the SDK through Ue5. Everything was successful, but then when I clicked on the package, it said that the SDK version was incorrect and that it was better to update it. I probably didn’t update it correctly, so could you please tell me how to update it?
  3. If you’re referring to the Visual Studio compilers, which are older versions, I have removed them.

Hi,

You can use Windows, that message was from the log system.

Look, if you updated everything, try the following steps:

Finally, double click on your .uproject and try to pack again.

If still does’t work, send me a DM and reach me on discord.