RunIoStore doesn't forward the DDC parameter to UnrealPak

As we were testing CloudDDC, we noticed that the -DDC parameter passed to BuildCookRun doesn’t make its way to UnrealPak.

This means that the default DDC configuration will be used instead.

Note that the cook process correctly gets the DDC parameter.

We fixed this issue by added the following code in RunIoStore right after the if (Params.HasBasedOnReleaseVersion) case:

if (Params.HasDDCGraph)
{
  CommandletParams += " -DDC=" + Params.DDCGraph;
}

Do you have an alternative that wouldn’t involve this engine mod?

[Attachment Removed]

Hey Jouan,

In general your change looks good, but there might be more scenarios where the DDC parameters might need to be passed to UnrealPak, e.g. the invocation in CreatePaks (that one is likely only relevant if IOStore is disabled).

I’ll create a bug report so we can fix this for the future.

As an alternative you could try passing in the “-DDC=XXX” option via the -AdditionalPakOptions BuildCookRun/UAT parameter. These options should be passed directly to UnrealPak (via GetCommonUnrealPakArguments()).

Kind Regards,

Sebastian

[Attachment Removed]