When DirectoriesToAlwaysCook is placed in a platform-specific configuration file, the cook process does not read that entry when cooking content for that platform.
The editor is aware of the platform specific configuration, and a breakpoint in UProjectPackagingSettings::FixCookingPaths() will confirm this when hovering the platform in the Platforms list. This appears to be a result of the the following function: UProjectPackagingSettings* PackagingSettings = FTurnkeySupportCallbacks::GetPackagingSettingsForPlatform(IniPlatformName);
When the cook commandlet runs, it uses GetDefault<UProjectPackagingSettings>(). This appears to miss the platform specific override.
1. Create a DirectoriesToAlwaysCook in DefaultGame.ini
2. Create a platform-specific DirectoriesToAlwaysCook with a directory
3. Cook content from platform
Expected: Platform specific cook rules would be observed
Actual: DefaultGame.ini cook rules are observed, and platform specific are silently ignored.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-318681 in the post.
0 |
Component | UE - Platform - Console |
---|---|
Affects Versions | 5.4, 5.6, 5.6.1 |
Created | Sep 5, 2025 |
---|---|
Updated | Sep 5, 2025 |