ERROR: System.ArgumentException: Requested value 'noallwrite,clobber,nocompress,unlocked,nomodtime,rmdir,noaltsync' was not found.

Perforce has a new client option, specifically altsync. Unfortunately altsync is unaccounted for in the AutomationTool’s P4ClientOption enum:

[\UE5\Engine\Source\Programs\AutomationTool\AutomationUtils\P4Utils.cs: line 56]

2 Likes

My solution was to add the NoAltSync and AltSync values to the P4ClientOption enum in:

\\UE5\Engine\Source\Programs\AutomationTool\AutomationUtils\P4Utils.cs

I also added P4ClientOption.NoAltSync to the list of options used to set the Client.Options variable in both:

\\UE5\Engine\Source\Programs\AutomationTool\Scripts\SyncDepotPath.cs
\\UE5\Engine\Source\Programs\AutomationTool\BuildGraph\Tasks\SubmitTask.cs

3 Likes