Description

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.

Steps to Reproduce

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.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-318681 in the post.

0
Login to Vote

Unresolved
ComponentUE - Platform - Console
Affects Versions5.45.65.6.1
CreatedSep 5, 2025
UpdatedSep 5, 2025
View Jira Issue