I noticed that if you cook with -allmaps instead of specifying each map like -map=map1+map2..., that it seems to cook all assets in your game's content folder, whether or not it's used in any maps or not.
This seems to also happen if you use the "package project" option in the editor, as that must use the -allmaps flag.
Expected results: Only assets that are referenced in some map are cooked. For example, if there is only one map in your project named "test", running the cooker with -map=test and -allmaps should cook exactly the same assets and produce exactly the same results in the cooked folder.
Related threads:
https://answers.unrealengine.com/questions/142794/why-does-the-editor-always-cook-all-resources-even.html
https://answers.unrealengine.com/questions/123668/does-the-content-cooker-cook-every-asset-even-if-i.html
Not specific to iOS, also happens with -targetplatform=WindowsNoEditor
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Foundation - Core - Cooker |
---|---|
Affects Versions | 4.6.1, 4.7, 4.8 |
Target Fix | 4.8 |
Fix Commit | 2430652 |
---|
Created | Feb 2, 2015 |
---|---|
Resolved | Feb 4, 2015 |
Updated | Sep 16, 2019 |