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.
N/A
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-167603 in the post.
11 |
Component | UE - Foundation - Core - Cooker |
---|---|
Affects Versions | 4.27 |
Target Fix | 5.5 |
Fix Commit | 32031131 |
---|
Created | Oct 19, 2022 |
---|---|
Resolved | Oct 28, 2024 |
Updated | Oct 28, 2024 |