FPackageStoreBulkDataManifest:: Data ** is not sorted. It generates a difference,
Here's a workaround
void FPackageStoreBulkDataManifest::Save() { TUniquePtr<FArchive> BinArchive(IFileManager::Get().CreateFileWriter(*Filename)); BinArchive->UsingCustomVersion(FBulkDataManifestVersion::GUID); // Take the versions from the archive and serialize them out // NOTE: Serializing out now means we cannot add additional versions while serializing // it is assumed that we are only using FBulkDataManifestVersion::GUID FCustomVersionContainer CustomVersions = BinArchive->GetCustomVersions(); CustomVersions.Serialize(*BinArchive); Data.KeyStableSort([](const FString& A, const FString& B){ return A < B; }); //workaround *BinArchive << Data; }
Result :
There is a difference between the two files
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-138846 in the post.
0 |
Component | UE - Foundation - Core - Cooker |
---|---|
Affects Versions | 4.25plus, 4.26, 4.27 |
Target Fix | 4.27.2 |
Created | Jan 11, 2022 |
---|---|
Resolved | May 20, 2022 |
Updated | Jun 8, 2022 |