Description

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 dependencies. UObject subclasses can add other kinds of inputs - config variables and loose files elsewhere on disk.

UObject subclasses can read these inputs from their virtual UObject functions that are called during the cook: Serialize, PostLoad, PreSave, BeginCacheForCookedPlatformData, IsCachedCookedPlatformDataLoaded, and CookAdditionalFilesOverride.

This JIRA is specifically about file inputs; config inputs are covered elsewhere.

In legacy iterative cooks and also currently in incremental cooks, non-package files read from disk during any of those hooks are not tracked and are not stored as dependencies that cause the package to be recooked.

Fix incremental cooks so that the non-package files read during these hooks are tracked and changes in those files cause the package to be recooked.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-167603 in the post.

9
Login to Vote

Unresolved
ComponentUE - Foundation - Core - Cooker
Affects Versions4.27
Target Fix5.5
CreatedOct 19, 2022
UpdatedFeb 29, 2024