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:
- Installing Visual Studio.
- Updating the SDK.
- Adjusting the packaging settings.
- 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