Error log is output when including spaces when packaging binary configurations.
The following log contains the string "Test Test" with spaces in the file path.
ERROR: Failed to copy D:\Projects\Test Test\BinConfTest\Intermediate\Config\Windows\BinaryConfig.ini to D:\Projects\Test Test\BinConfTest\Saved\Temp\Win64\BinConfTest\Config\BinaryConfig.ini
The BinaryConfig.ini was not created in the Intermediate folder during staging, and the failure log is output as follows.
Skip copying file D:\Projects\Test Test\BinConfTest\Intermediate\Config\Windows\BinaryConfig.ini because it doesn't exist. Failed to copy D:\Projects\Test Test\BinConfTest\Intermediate\Config\Windows\BinaryConfig.ini to D:\Projects\Test Test\BinConfTest\Saved\Temp\Win64\BinConfTest\Config\BinaryConfig.ini, deleting, waiting 10s and retrying.
1. Create a blank project in a location that includes spaces in the file path and open with editor.
(ex: "c:/projects/Test Test/Blank/Blank.uproject")
2. Open the Project Launcher
3. Packaging with BinaryConfig enabled.
-ScriptsForProject="C:/Projects/Test Test/Blank/Blank.uproject" BuildCookRun -project="C:/Projects/Test Test/Blank/Blank.uproject" -noP4 -clientconfig=Development -serverconfig=Development -nocompileeditor -installed -unrealexe=C:\Launcher\UE_5.0\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -utf8output -platform=Win64 -build -cook -map= -CookCultures=en -unversionedcookedcontent -ddc=InstalledDerivedDataBackendGraph -pak -iostore -makebinaryconfig -compressed -stage -package -cmdline=" -Messaging" -addcmdline="-SessionId=*** -SessionOwner='***' -SessionName='***' " -archive -archivedirectory=C:/Projects/Archive/
Then, Logs are outputting that packaging succeeds but copying of binary configurations at staging fails.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-156464 in the post.
1 |
Component | UE - Foundation - Cpp Tools - Automation Tool |
---|---|
Affects Versions | 5.0 |
Target Fix | 5.1 |
Created | Jun 13, 2022 |
---|---|
Resolved | Aug 15, 2022 |
Updated | Sep 14, 2022 |