Incremental Cooks: Add dependencies on files loaded during Load/Save of the package

UE - Foundation - Core - Cooker - Oct 19, 2022

Iterative and Incremental cooking are supposed to recook packages when their "inputs" change. Most of the time inputs are the package file itself and the other package files on which it has dependen ...

CookAdditionalFiles - WriteSharedFile function that allows multiple packages to generate the same file

UE - Foundation - Core - Cooker - Sep 23, 2022

Dependency on [Link Removed], which specifies that CookAdditionalFiles should take a context object. Keep the existing WriteAdditionalFile function that is an argument to CookAdditionalFilesOverrid ...

CookAdditionaFilesOverride Context struct

UE - Foundation - Core - Cooker - Sep 23, 2022

virtual void UObject::CookAdditionalFilesOverride allows non-package files to be copied or created during the cook whenever a UObject of your class is in a package that is cooked. This is useful for ...

Create ini setting for DirectoriesToAlwaysStageAsUFSChunkRules to specify the chunks for UFS files.

UE - Foundation - Core - Cooker - Sep 23, 2022

Some plugins and projects are staging large amounts of AdditionalUFS files, and the only way to specify their chunk for streaming and optional install is using PakFileRules.ini. Add a setting in Ga ...

Add start and end-or-idle delegates for all cookmodes.

UE - Foundation - Core - Cooker - Sep 23, 2022

Plugin authors have requested a start and end hook for cooking so their plugin can load a database used during cooking. ...

Fix iterative cooks to keep track of CookAdditionalFiles and delete them when the package file that created them is invalidated

UE - Foundation - Core - Cooker - Sep 23, 2022

A licensee reports they are using the CookAdditionalFilesOverride function in UObject to add files to the project. This file is properly copied into the Staging area during Packaging, and is appropr ...

AssetRegistry.bin is not deterministically cooked.

UE - Foundation - Core - Cooker - Mar 8, 2022

AssetRegistry.bin is not deterministically cooked. NativeLibraries is turned off because .ushaderbytecode has a non-deterministic issue in [Link Removed]. And there is a similar issue with UE5 in [ ...

AssetManager ModifyCook does not correctly apply PrimaryAssetLabel references

UE - Foundation - Core - Cooker - Feb 10, 2022

Right now the AssetManager uses different logic in ModifyCook vs VerifyCanCook, specifically related to secondary assets like textures or maps that are indirectly loaded by soft object paths and are ...

BulkDataManifest asset is non-deterministic

UE - Foundation - Core - Cooker - Jan 11, 2022

FPackageStoreBulkDataManifest:: Data ** is not sorted. It generates a difference, Here's a workaround void FPackageStoreBulkDataManifest::Save() { TUniquePtr<FArchive> BinArchive(IFileManager:: ...

Asset Manager settings that worked in 4.26 now have extra invisible broken types

UE - Foundation - Core - Cooker - Sep 23, 2021

For 4.27/5.0 (as part of [Link Removed]) we changed the asset manager's settings to be a key-indexed config array which gives more safety with removing entries via the UI. However, this actually bro ...