CopyFile function in CommandUtils.cs assumes that an exception will be thrown if the number of retries is exceeded, but the loop condition prevents it from being thrown.
Following fix works:
public static void CopyFile(string Source, string Dest, bool bQuiet = false, bool bRetry = false) { ... // for (int AttemptsRemaining = 5; AttemptsRemaining > 0; --AttemptsRemaining) for (int AttemptsRemaining = 5; AttemptsRemaining >= 0; --AttemptsRemaining) // workaround { if (InternalUtils.SafeFileExists(Dest, true)) { InternalUtils.SafeDeleteFile(Dest, bQuiet); } if (InternalUtils.SafeFileExists(Dest, true)) { if (bRetry && AttemptsRemaining > 0)
D:\dev\UnrealEngine-5.1.1\Engine\Build\BatchFiles\RunUAT.bat BuildGraph -target="Manipulate Some Files" -script="Engine\Build\Graph\Examples\Copy.xml"
UAT outputs the following error message about 50 times, but the script continues.
SafeCopyFile Exception was Exception in System.Private.CoreLib: There is not enough space on the disk : 'R:\Engine\TestNumber3\EpicGamesLauncherInstaller.msi' Stacktrace: at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite) at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyDenyList, List`1 IniSectionDenyList) in D:\dev\UnrealEngine-5.1.1\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 446
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
What controls of umg have mouse wheel events in UE4.27?
How to achieve HLSL Multiple Render Target in Material blueprints?
How to properly terminate the DoWork thread function in FAsyncTask?
How does UMG set overlapping layouts?
Why does the system plugin 'UnrealBuildTool' error could not be found when the project is compiled?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-178656 in the post.
0 |
Component | UE - Foundation - Horde - BuildGraph |
---|---|
Affects Versions | 5.1 |
Target Fix | 5.3 |
Created | Feb 28, 2023 |
---|---|
Resolved | Mar 1, 2023 |
Updated | Apr 29, 2023 |