Ultimate packaging question

Hi, i had this on my mind for a long time and since i am adding lots of stuff to the project thinking i’ll get to use them in the future, i want to ask a question about packaging, especially for shipping.

When i decide to finally pack the project, will Unreal Engine choose what the game needs from the ‘‘Content’’ and ONLY compress and include that? Can i select this as an option within the engine?

If not it would be very ironically, as the engine tells you what the project needs, when you want to delete related assets…

I would be glad if you could also provide me with some documentation.Looking forward to your reply!

Hi Xanadron,

Other people can correct me if I’m wrong, but the short answer is yes, the engine only includes the content that it needs when packaging.

The short version of how I understands that it works, is that the maps (and other assets) you specify through the ini files (or through the command line) are marked for cooking and then it also cooks any referenced assets (which pull in any assets that those reference, etc.). The only exception to this rule is the Content/Movies folder, which it simply does a full copy of for any packaged platform. I’m unsure if there is any documentation about this.

Hope that helps. Cheers,

Hi, thanks for the answer. I am still waiting for an answer from the Epic Staff maybe, just to clarify it. Meanwhile i will do test myself and hopefully it will conclude just as you said.

Many regards.

Project.Gheist is correct. Keep in mind it’s always best to remove any files, or blacklist any files that you do not wish to include in a packaged project.

Here are some documentation links that may help you further:

  • [Content Cooking][1]
  • [Packaging and Cooking Games][2]
  • [Package Blacklist][3]

Cooking Content in Unreal Engine | Unreal Engine 5.1 Documentation
[2]: Packaging and Cooking Games in Unreal Engine | Unreal Engine 5.1 Documentation
[3]: Optimization Guides for Android in Unreal Engine | Unreal Engine 5.1 Documentation

Thanks for the response!