There is some unexpected behaviour around GameFeature Plugins (GFPs) when packaging with chunking enabled most noticeable when using PrimaryAssetLabels (PALs).
Firstly, PrimaryAssetLabels do not appear to be respected in GFPs by default. Removing IsEditorOnly fixes this; however, that also causes all referenced PALs, and by extension all their subreferences, will cook. This cook happens regardless of the cook settings of the PAL. Namely, Unknown in the PAL will still cause a cook.
Secondly, with IsEditorOnly, some assets will still end up in Chunk0. The reason isn't immediately clear, but the assets are notably missed in UAssetManager::UpdateManagementDatabase:4122. These assets are missed, though they are not missed in the Editor portion of AssetAudit, where they correctly display their expected chunk as the chunk assigned by the PAL.
Thirdly, ChunkOverride appears to act inconsistently in the GFP asset as nothing but the GFP asset ends up in that chunk.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-225129 in the post.
1 |
Component | UE - Gameplay |
---|---|
Affects Versions | 5.3.2, 5.4.4 |
Target Fix | 5.6 |
Created | Sep 23, 2024 |
---|---|
Updated | Sep 27, 2024 |