Bundle Mode Questions

I’m trying to decide which Bundle Mode for the Asset Groups best suits my needs, but I’m having a hard time finding a lot of information on them. To be sure I understand, these are the options as I understand them:

Pack Together: Every asset within this addressable group will be bundled together. This means it will be patched together (patch one, you patch the whole thing) and loaded together (load one, you load them all).
Pack Separately: Every asset within this addressable group will be its own asset bundle. If you patch or load an asset, that asset alone will be effected/loaded.
Pack Together by Label: All the assets in this bundle that share a label will be packed together. Each of these sub-bundles with be patched/loaded together.

Am I correct with those definitions?

My assumption here is that smaller bundles make for better patching (smaller patch sizes) but bigger bundles makes your overall build size smaller because you’re bundling more things together. Is that correct?

What other advantages do you get by using each of these options? Are there any other considerations I should be taking when making this decision?

4 Likes

@seraphki just fyi afaik LZ4 vs LZMA compression will also make a difference

for example:

Pack together with LZ4 = Only the assets you need will be uncompressed and loaded in
Pack together with LZMA = Potentially smaller size but all assets need to be uncompressed to get the ones you need

A nice compromise might be to do Pack Separately + LZMA if that doesn’t complicate your overall workflow. That way you get max compression without having to pay price of other assets being uncompressed. Might complicate patching a little bit more but that’s your call!