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
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
What controls of umg have mouse wheel events in UE4.27?
How does TArray loop correctly remove elements in blueprints?
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 - Data Pipeline - Cooker |
---|---|
Affects Versions | 4.27 |
Target Fix | 5.5 |
Fix Commit | 32031131 |
---|
Created | Oct 19, 2022 |
---|---|
Resolved | Oct 28, 2024 |
Updated | Oct 28, 2024 |