Reduce packaging size and time

Right now, I’m following the GameDevTV FPS Blueprints course for UE5 and I’ve added some packages from the Marketplace like Megascans objects. Much of what I added, I’ve not used, yet, my game has a total size of over 114GB.

However, I tried packaging a beta build of the game and I found that, even 4 hours later, it was still cooking a lot of objects, so I had to stop it.

Is there any way I can set preferences for the packaged game so that it only packages specific maps?

Thanks.

Yes, you can specify which maps to cook/package under your project’s Packaging Settings.

What section is it named under? I can’t see it in my version of UE5.

In Project Settings, expand the Advanced tab under Project > Packaging:

Then under the Advanced section:

This may not solve your issue though. By default, the cooker will cook anything that is hard or soft referenced in your game. You probably want to check that you aren’t pulling in any assets that are unnecessary. I can’t recall off-hand but there’s an option to change the verbosity of the cook logs so you can see what it is packaging. Also, if you generate chunks, you get a full list of all assets that are in your pak file.

Every project is different and there are several settings you can tweak to customize your packages. Check out the documentation for more info. Also, this page gives some tips on reducing package size.

Privacy & Terms