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

**URL:** <https://forums.unrealengine.com/t/packagingresults-error-unknown-error-automationtool-exiting-with-exitcode-6-6/2653168>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, package-error, question\
**Created:** [September 3, 2025, 5:06am UTC](https://forums.unrealengine.com/t/packagingresults-error-unknown-error-automationtool-exiting-with-exitcode-6-6/2653168 "2025-09-03T05:06:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sumant\_Bag\_1992](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sumant_bag_1992/32/1102404_2.png) [@Sumant\_Bag\_1992](https://forums.unrealengine.com/u/Sumant_Bag_1992)\
**Post date:** [September 3, 2025, 5:06am UTC](https://forums.unrealengine.com/t/packagingresults-error-unknown-error-automationtool-exiting-with-exitcode-6-6/2653168/1 "2025-09-03T05:06:48Z")

</div>

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:

```auto
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 ???

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [September 3, 2025, 7:33am UTC](https://forums.unrealengine.com/t/packagingresults-error-unknown-error-automationtool-exiting-with-exitcode-6-6/2653168/2 "2025-09-03T07:33:57Z")

</div>

Hey there @Sumant_Bag_1992! It seems like you could have run into an esoteric issue involving how the command for Unreal Built Tool works. I remember seeing a thread where a user had also named their project TEST and was having the same issue closely related to issue [UE-74975](https://issues.unrealengine.com/issue/UE-74975).

> [@C++ Projects named "Test", "Development" etc will not package properly](https://forums.unrealengine.com/t/c-projects-named-test-development-etc-will-not-package-properly/450799):
>
> (This contains extra info on UE-74975) An acquaintacne ran into UE-74975 the other day: If you name your project “Test”, “Development” or a couple of other things, then UnrealBuildTool fails building it with the error message “ERROR: No target name was specified on the command-line.”. This command line will fail: "E:\Program Files\Epic Games\UE\_4.22\Engine\Binaries\DotNET\UnrealBuildTool.exe" Test Win64 Development -Project=c:\temp\Test\Test.uproject c:\temp\Test\Test.uproject -NoUBTMakefile…

Do other projects build normally?

---

<div class="post-metadata">

**Author:** ![Sumant\_Bag\_1992](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sumant_bag_1992/32/1102404_2.png) [@Sumant\_Bag\_1992](https://forums.unrealengine.com/u/Sumant_Bag_1992)\
**Post date:** [September 3, 2025, 11:33am UTC](https://forums.unrealengine.com/t/packagingresults-error-unknown-error-automationtool-exiting-with-exitcode-6-6/2653168/3 "2025-09-03T11:33:44Z")

</div>

Thank you, I changed the folder name to something other than TEST, and it worked properly.
