PackagingResults: Error: Unknown Error, AutomationTool exiting with ExitCode=6 (6)

Sumant_Bag_1992
Wed, 03 Sep 2025 05:06:47 +0000
Programming & Scripting

I’m getting PackagingResults: Error: Unknown Error, with AutomationTool exiting with ExitCode=6 (6) while trying to package a template project on UE5.6.1 for the Windows platform. The following is my generated log:

Log started at 09/03/2025 10:29:10 (2025-09-03T04:59:10Z)
Resolved project argument E:\Project\On-Going\UE5\TEST\TEST.uproject to E:\Project\On-Going\UE5\TEST\TEST.uproject
No config file at C:\ProgramData\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
No config file at C:\Users\suman\AppData\Local\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
No config file at C:\Users\suman\OneDrive\Documents\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Configuration will be read from:
  C:\Users\suman\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Reading configuration file from cache (E:\Project\On-Going\UE5\TEST\Intermediate\Build\XmlConfigCache.bin): C:\Users\suman\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Reading configuration file from cache (E:\Project\On-Going\UE5\TEST\Intermediate\Build\XmlConfigCache.bin): E:\Project\On-Going\UE5\TEST\Saved\UnrealBuildTool\BuildConfiguration.xml
Reading configuration file from cache (E:\Project\On-Going\UE5\TEST\Intermediate\Build\XmlConfigCache.bin): C:\Users\suman\AppData\Local\UnrealEngine\Intermediate\Build\UnrealBuildTool.Env.BuildConfiguration.xml
Log file: C:\Users\suman\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-TEST-Win64-Development.txt

Setting temp directory to 'C:\Users\suman\AppData\Local\Temp\UnrealBuildTool\12c8af0c'
    Registering build platform: UnrealBuildTool.AndroidPlatformFactory
    Registering build platform: UnrealBuildTool.IOSPlatformFactory
    Registering build platform: UnrealBuildTool.LinuxPlatformFactory
    Registering build platform: UnrealBuildTool.MacPlatformFactory
    Registering build platform: UnrealBuildTool.TVOSPlatformFactory
    Registering build platform: UnrealBuildTool.WindowsPlatformFactory
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (1)
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (2)
Found Windows 10 SDK version 10.0.19041.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.19041.0 at C:\Program Files (x86)\Windows Kits\10
Found Windows 10 SDK version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10
Found Windows 10 SDK version 10.0.26100.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.26100.0 at C:\Program Files (x86)\Windows Kits\10
Win64 Installed SDK(s): MinVersion_Sdk=10.0.19041.0, MaxVersion_Sdk=10.9.99999.0, CurrentVersion_Sdk=10.0.22621.0, Version_AutoSdk=10.0.22621.0, CurrentVersion_AutoSdk=
        Registering build platform: Win64 - buildable: True
    Registering build platform: UnrealBuildTool.VisionOSPlatformFactory
Command line: "C:\Program Files\Epic Games\UE_5.6\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" TEST Win64 Development -Project=E:\Project\On-Going\UE5\TEST\TEST.uproject -Manifest=E:\Project\On-Going\UE5\TEST\Intermediate\Build\Manifest.xml -remoteini=E:\Project\On-Going\UE5\TEST -skipdeploy "-log=C:\Users\suman\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-TEST-Win64-Development.txt"
No target name was specified on the command-line.
BuildException: No target name was specified on the command-line.
   at UnrealBuildTool.TargetDescriptor.ParseSingleCommandLine(CommandLineArguments Arguments, Boolean bUsePrecompiled, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bCreateSimplifiedDescriptors, List`1 TargetDescriptors, ILogger Logger)
   at UnrealBuildTool.TargetDescriptor.ParseCommandLine(CommandLineArguments Arguments, Boolean bUsePrecompiled, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bCreateSimplifiedDescriptors, List`1 TargetDescriptors, ILogger Logger)
   at UnrealBuildTool.TargetDescriptor.ParseCommandLine(CommandLineArguments Arguments, Boolean bUsePrecompiled, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, List`1 TargetDescriptors, ILogger Logger)
   at UnrealBuildTool.TargetDescriptor.ParseCommandLine(CommandLineArguments Arguments, BuildConfiguration BuildConfiguration, ILogger Logger)
   at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger)
   at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray)
WriteFileIfChanged() wrote 0 changed files of 1 requested writes.

Timeline:
[  0.001]  +1.025 Main
   0.151          [  0.149]  +0.407 Apply XmlConfig
   0.756          [  0.755]  +0.270 RegisterPlatforms
[  1.027]  +0.031 BuildMode
   1.044          [  0.016]  +0.014 Saving caches
[  1.077]  +0.001 TelemetryService.FlushEvents
[  1.080]

Result: Failed (OtherCompilationError)
Total execution time: 1.08 seconds

Solutions tried:

1. Resetting the game icon

2. Copying the Hostfxr.dll to the automation tools folder

How to solve this error ???

3 posts - 2 participants