Seeking a fix to UE5 Windows User Folders

Presently when Packaging in UE5, the dotnet.exe UnrealBuildTool.dll is pointing to the user roaming folder. The “-log” path is not properly escaped, so “C:\Users\My’Nonstandard User\AppData\Roaming\Unreal Engine\blahblah.log” is mangled quite poorly into an unwritable output. The user name falls apart and the space in the Unreal Engine also falls apart. The whole thing falls apart.

Since UE5 beta, the general advice has been to just create a new user.

Hi Downchuck0,

Yes I would advise that too - it’s not just UE that will barf with non-standard characters - a lot of apps will.

I’m still looking to get this fixed. The issue has been pushed forward from the UE5 beta and is still present in some small form in UE5.3.

This is simply a code error where somebody did not appropriately run a command to escape a file path. But it is being replied to as though there is something strange in folder encoding. There isn’t. It’s just a keyboard standard apostrophe and a simple fix in the csharp stack for something that was not broken in Unreal 4.

UATHelper: Packaging (Windows): Running: D:\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "D:\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" openusd Win64 Development -Project=D:\wdi\openusd\openusd.uproject -Manifest=D:\wdi\openusd\Intermediate\Build\Manifest.xml  -remoteini="D:\wdi\openusd"  -skipdeploy  -log="C:\Users\Char'les\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_5.3\UBT-openusd-Win64-Development.txt"
UATHelper: Packaging (Windows): Log file: C:\Users\Charles\AppData\Roaming\Unreal
UATHelper: Packaging (Windows): Creating makefile for openusd (no existing makefile)
UATHelper: Packaging (Windows): Parsing headers for openusd
UATHelper: Packaging (Windows):   Running Internal UnrealHeaderTool D:\wdi\openusd\openusd.uproject D:\wdi\openusd\Intermediate\Build\Win64\openusd\Development\openusd.uhtmanifest -WarningsAsErrors -installed
UATHelper: Packaging (Windows): Total of 0 written
UATHelper: Packaging (Windows): Reflection code generated for openusd in 1.0073979 seconds
UATHelper: Packaging (Windows): Writing manifest to D:\wdi\openusd\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows): Creating makefile for Engine\AutomationTool\Logs\D (no existing makefile)
UATHelper: Packaging (Windows): Total execution time: 16.84 seconds
UATHelper: Packaging (Windows): Couldn't find target rules file for target 'Engine\AutomationTool\Logs\D' in rules assembly 'UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
UATHelper: Packaging (Windows): Location: D:\UE_5.3\Engine\Intermediate\Build\BuildRules\UE5Rules.dll
UATHelper: Packaging (Windows): Target rules found:
UATHelper: Packaging (Windows): Took 17.57s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\Char'les\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_5.3\UBT-openusd-Win64-Development.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 27s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)