Hi Everyone,
After enabling chunking and setting up some chunks using primary asset labels, I noticed that there were two more pak files being generated, additional to what I was expecting.
I currently have the primary asset labels set up like this:
- Chunk 1003: Covers the entire content folder, with a priority of 1.
- Chunk 1001 A: Covers a single subfolder within the content folder with a priority of INT_MAX. This will contain all of the explicit assets we want to have in our first chunk.
- Chunk 1001 B: Covers a single folder within Engine/Plugins, that also adds some stuff from a plugin to the first chunk.
So I would expect for there to be two ucas files (exluding the global one):
- pakchunk1001-<PLATFORM>.ucas
- pakchunk1003-<PLATFORM>.ucas
However, When I build a package the following ucas files are generated:
- pakchunk0-<PLATFORM>.ucas
- pakchunk1001optional-<PLATFORM>.ucas
- pakchunk1001-<PLATFORM>.ucas
- pakchunk1003-<PLATFORM>.ucas
So there are two chunks that I wasn’t expecting to see:
- pakchunk0-<PLATFORM>.ucas: This one isn’t explicitly defined by a PAL, but after checking its content, it seems to contain mostly shader binaries and engine content. It does contain a few assets from the /Content folder though, so not sure why they are being included in this chunk rather than chunk 1003.
- pakchunk1001optional-<PLATFORM>.ucas: This one is full of “uptnl” files which appear to be an “optional bulk data file”.
So I would like to know:
- Is it possible to get all the files from pakchunk0-<PLATFORM>.ucas to go into pakchunk1003-<PLATFORM>.ucas? If yes, how?
- Is it possible to get all the files from pakchunk1001optional-<PLATFORM>.ucas to go into pakchunk1001-<PLATFORM>.ucas? If yes, how?
If it’s not possible to change this behaviour it shouldn’t be an issue as long as its consistent and doesn’t change across builds, but without having explicit control over these assets I’m a bit worried that builds will be non-deterministic, especially when the assets in the build change.
For your reference this is what the Asset Audit output looks like with chunks added:
[Image Removed]
Thanks