File : CopyBuildToStagingDirectory.Automation.cs
Line : 461
UE 4.23
SC.MetadataDir = DirectoryReference.Combine(SC.PlatformCookDir, SC.ShortProjectName, "Metadata");
UE 4.24
string RelativeDLCRootPath = DLCRoot.MakeRelativeTo(SC.LocalRoot);
SC.MetadataDir = DirectoryReference.Combine(SC.PlatformCookDir, RelativeDLCRootPath, "Metadata");
incomprehensible code and Wrong path
I can’t understand why it was fixed.