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.

Steps to Reproduce

N/A

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.

11
Login to Vote

Fixed
ComponentUE - Foundation - Core - Cooker
Affects Versions4.27
Target Fix5.5
Fix Commit32031131
CreatedOct 19, 2022
ResolvedOct 28, 2024
UpdatedOct 28, 2024
View Jira Issue