Packaging for Windows failure with no errors on output log

I just completed a game tried to package it… got few normal errors fixed those and now I am getting no errors at all and packaging is failing…

here is what output log is returning

LogTurnkeySupport: Running Turnkey device detection: ' -ScriptsForProject="X:/Unreal Projects/Project_■■■■■/Project_■■■■■.uproject" Turnkey -utf8output -WaitForUATMutex -command=VerifySdk -ReportFilename="X:/Unreal Projects/Project_■■■■■/Intermediate/TurnkeyReport_2.log" -log="X:/Unreal Projects/Project_■■■■■/Intermediate/TurnkeyLog_2.log" -project="X:/Unreal Projects/Project_■■■■■/Project_■■■■■.uproject"  -Device=Android_ASTC@43d7459a0706+Android_Multi@43d7459a0706'
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""X:/Apps/UE_5.3/Engine/Build/BatchFiles/RunUAT.bat"  -ScriptsForProject="X:/Unreal Projects/Project_■■■■■/Project_■■■■■.uproject" Turnkey -utf8output -WaitForUATMutex -command=VerifySdk -ReportFilename="X:/Unreal Projects/Project_■■■■■/Intermediate/TurnkeyReport_2.log" -log="X:/Unreal Projects/Project_■■■■■/Intermediate/TurnkeyLog_2.log" -project="X:/Unreal Projects/Project_■■■■■/Project_■■■■■.uproject"  -Device=Android_ASTC@43d7459a0706+Android_Multi@43d7459a0706" -nocompile -nocompileuat ]
LogTurnkeySupport: Completed device detection: Code = 0
LogUObjectHash: Compacting FUObjectHashTables data took   0.66ms
LogTurnkeySupport: Project requires temp target (OpenImageDenoise plugin is disabled)
LogLauncherProfile: Unable to use promoted target - ../../../../../Unreal Projects/Project_■■■■■/Binaries/Win64/UnrealGame-Win64-Shipping.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""X:/Apps/UE_5.3/Engine/Build/BatchFiles/RunUAT.bat"  -ScriptsForProject="X:/Unreal Projects/Project_■■■■■/Project_■■■■■.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=54923  -project="X:/Unreal Projects/Project_■■■■■/Project_■■■■■.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook  -project="X:/Unreal Projects/Project_■■■■■/Project_■■■■■.uproject"  -unrealexe="X:\Apps\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Win64 -installed -stage -archive 
-package -build -clean -pak -iostore -compressed -prereqs -archivedirectory="X:/Unreal Projects/FinalBuild" -clientconfig=Shipping -nodebuginfo" -nocompile -nocompileuat ]
UATHelper: Packaging (Windows): Running AutomationTool...
LogAutomationController: Ignoring very large delta of 2.25 seconds in calls to FAutomationControllerManager::Tick() and not penalizing unresponsive tests
UATHelper: Packaging (Windows): Using bundled DotNet SDK version: 6.0.302
UATHelper: Packaging (Windows): Starting AutomationTool...
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject="X:/Unreal Projects/Project_■■■■■/Project_■■■■■.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=54923 -project="X:/Unreal Projects/Project_■■■■■/Project_■■■■■.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="X:/Unreal Projects/Project_■■■■■/Project_■■■■■.uproject" -unrealexe=X:\Apps\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -platform=Win64 -installed -stage -archive -package -build -clean -pak -iostore -compressed -prereqs -arch
ivedirectory="X:/Unreal Projects/FinalBuild" -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules...
UATHelper: Packaging (Windows): Total script module initialization time: 0.21 s.
UATHelper: Packaging (Windows): Executing commands...
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.00000.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.22621.0, Allowed_AutoSdk=10.0.18362.0, Current_AutoSdk=, Flags="InstalledSdk_ValidVersionExists")
UATHelper: Packaging (Windows): Scanning for envvar changes...
UATHelper: Packaging (Windows): ... done! 
UATHelper: Packaging (Windows): Cleaning Temp Paths...
UATHelper: Packaging (Windows): BUILD SUCCESSFUL
UATHelper: Packaging (Windows): Setting up ProjectParams for X:\Unreal Projects\Project_■■■■■\Project_■■■■■.uproject
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: X:\Apps\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "X:\Apps\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" Project_■■■■■ Win64 Shipping -Project="X:\Unreal Projects\Project_■■■■■\Project_■■■■■.uproject" -Clean -NoHotReload "X:\Unreal Projects\Project_■■■■■\Project_■■■■■.uproject" -NoUBTMakefiles  -remoteini="X:\Unreal Projects\Project_■■■■■"  -skipdeploy  -log="C:\Users\win10\AppData\Roaming\Unreal Engine\AutomationTool\Logs\X+Apps+UE_5.3\UBT-Project_■■■■■-Win64-Shipping.txt"
UATHelper: Packaging (Windows): Log file: C:\Users\win10\AppData\Roaming\Unreal Engine\AutomationTool\Logs\X+Apps+UE_5.3\UBT-Project_■■■■■-Win64-Shipping.txt
UATHelper: Packaging (Windows): Cleaning Project_■■■■■ binaries...
UATHelper: Packaging (Windows): Took 2.97s to run dotnet.exe, ExitCode=0
UATHelper: Packaging (Windows): Running: X:\Apps\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "X:\Apps\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" Project_■■■■■ Win64 Shipping -Project="X:\Unreal Projects\Project_■■■■■\Project_■■■■■.uproject" -Manifest="X:\Unreal Projects\Project_■■■■■\Intermediate\Build\Manifest.xml"  -remoteini="X:\Unreal Projects\Project_■■■■■"  -skipdeploy  -log="C:\Users\win10\AppData\Roaming\Unreal Engine\AutomationTool\Logs\X+Apps+UE_5.3\UBT-Project_■■■■■-Win64-Shipping_2.txt"
UATHelper: Packaging (Windows): Log file: C:\Users\win10\AppData\Roaming\Unreal Engine\AutomationTool\Logs\X+Apps+UE_5.3\UBT-Project_■■■■■-Win64-Shipping_2.txt
UATHelper: Packaging (Windows): Using 'git status' to determine working set for adaptive non-unity build (X:\Unreal Projects\Project_■■■■■).
UATHelper: Packaging (Windows): Creating makefile for Project_■■■■■ (no existing makefile)
UATHelper: Packaging (Windows): Unhandled exception. System.ArgumentException: Path fragment '"Content/Assets/Assets/Arm/\320\234\320\260\321\202\320\265\321\200\320\270\320\260\320\273.uasset"' contains invalid directory separators.
UATHelper: Packaging (Windows):    at EpicGames.Core.FileSystemReference.CombineStrings(DirectoryReference baseDirectory, String[] fragments) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\FileSystemReference.cs:line 83
UATHelper: Packaging (Windows):    at EpicGames.Core.FileReference.Combine(DirectoryReference baseDirectory, String[] fragments) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\FileReference.cs:line 173
UATHelper: Packaging (Windows):    at UnrealBuildTool.GitSourceFileWorkingSet.AddPath(String Path) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\SourceFileWorkingSet.cs:line 279
UATHelper: Packaging (Windows):    at UnrealBuildTool.GitSourceFileWorkingSet.OutputDataReceived(Object Sender, DataReceivedEventArgs Args) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\SourceFileWorkingSet.cs:line 243
UATHelper: Packaging (Windows):    at System.Diagnostics.Process.OutputReadNotifyUser(String data)
UATHelper: Packaging (Windows):    at System.Diagnostics.AsyncStreamReader.FlushMessageQueue(Boolean rethrowInNewThread)
UATHelper: Packaging (Windows): --- End of stack trace from previous location ---
UATHelper: Packaging (Windows):    at System.Diagnostics.AsyncStreamReader.<>c.<FlushMessageQueue>b__18_0(Object edi)
UATHelper: Packaging (Windows):    at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
UATHelper: Packaging (Windows):    at System.Threading.ThreadPoolWorkQueue.Dispatch()
UATHelper: Packaging (Windows):    at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
UATHelper: Packaging (Windows):    at System.Threading.Thread.StartCallback()
UATHelper: Packaging (Windows): Took 3.94s to run dotnet.exe, ExitCode=-532462766
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\win10\AppData\Roaming\Unreal Engine\AutomationTool\Logs\X+Apps+UE_5.3\UBT-Project_■■■■■-Win64-Shipping_2.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 9s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=-532462766 (-532462766)
UATHelper: Packaging (Windows): BUILD FAILED

The issue was with this:

Unhandled exception. System.ArgumentException: Path fragment '"Content/Assets/Assets/Arm/\320\234\320\260\321\202\320\265\321\200\320\270\320\260\320\273.uasset"' contains invalid directory separators.

I had assets with Russian names, but the real issue was with git, apparently until your revision control is updated the error would persist even if you have changed the asset name to ASCII

Found the solution in this thread

You probably can just commit and it will be solved or do what one guy in the thread suggested
just put --global core.quotepath false on your cmd prompt and your game will start building : D

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.