Including a trailing slash ("\") at the end of a BuildCookRun command sent to UAT results in UAT receiving a malformed command. If the command ends with a slash, the resulting command that UAT receives has a space added before the slash and "-compile" added immediately after the slash. The slash should instead be removed from the command before it is sent to UAT.
REGRESSION:
No. The same behavior occurs in 4.20.3. A different error prevented testing in Main.
Path\To\RunUAT.bat BuildCookRun -project="Path\to\Project.uproject" -noP4 -platform=Win64 -clientconfig=<Either Test or Development depending on what you used in step 2> -serverconfig=<Same as clientconfig> -skipcook -stage -pak -package -compressed -archive -archivedirectory=Path\to\destination\directory\
RESULT:
The process fails. The end of the command that is sent to UAT shows:
...-archivedirectory=Path\to\destination\directory \-compile
EXPECTED:
The process completes successfully.
WORKAROUND:
Make sure there is no trailing slash at the end of the command.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-70116 in the post.
0 |
Component | UE - Foundation - Cpp Tools |
---|---|
Affects Versions | 4.20.3, 4.21.2 |
Target Fix | 4.22 |
Fix Commit | 4676467 |
---|---|
Main Commit | 5915479 |
Created | Feb 14, 2019 |
---|---|
Resolved | Feb 14, 2019 |
Updated | Apr 16, 2019 |