Avoid packing useless content

Hello there. My android game in UE4 is about 100MB once installed. It has one level, four blueprints, 5 meshes and 3 materials (646 KB in total), but there’s a lot of stuff from the engine like the WorldGridMaterial that gets packed. If I blacklist the EngineMaterials folder, it gives me error messages when starting the app (because the material is referenced by the DefaultPawn (which I don’t use neither). How can I prevent all of this from packing? Or is there a way to simply not show the error message?

Thanks in advance.

Hi mago,

You may want to have a look at the documentation here if you’ve not already seen this:

As far as Editor Content goes, if you open your project then go to the Project Settings > Packaging > and check the option for “Do not include editor content in this package may cause game to crash / error if you are using this content.”

Enabling this option and using some of the other packaging options here will help control what content is packaged and reduce your package size for your game.

I hope this helps.

Tim