Basically, I’m trying to figure out how to reduce the size of the project files in an android project and the biggest file is one called “DefaultBloomKernel.uexp” weighing in at over 32MB out of 45MB overall. Googling this file yields 0 results. What is it, what does it do, and more importantly is there a way to make it smaller?
I’m using UE4 4.16.0 on a C++ template with nothing in it besides the default floor.
I found the solution, unchecked the bloom setting in rendering will not cook DefaultBloomKernel,
but the package is still too huge, the libUE.so is too huge.
The 4.16.2 update didn’t fix this for me. Tried turning bloom on and off. Tried a few other things, no luck. I tried your suggestion of creating an AndriodEngine.ini file and it seems to have worked:
Tried adding PakBlacklist-Development.txt and PakBlacklist-Shipping.txt to \Build\Android
Unchecked Bloom attribute in properties
Add the AndriodEngine.ini
Nothing worked.
Change the content from Content\EngineMaterials\DefaultBloomKernel is not a good idea as it will affect any other project because you are changing the engine content directly.
Create a text file in your Build/Android/ folder called “PakBlacklist-Shipping” and inside of this, add these 2 rows: ../../../Engine/Content/EngineMaterials/DefaultBloomKernel.uasset ../../../Engine/Content/EngineMaterials/DefaultBloomKernel.uexp
That will work for your shipping build, just copy paste for development build.
Might be worth noting, there is a few other things worth excluding too if you’re not using them, such as: ../../../Engine/Content/EngineDebugMaterials/ ../../../Engine/Content/MobileResources/ ../../../Engine/Content/Tutorial/ ../../../Engine/Content/VREditor/ ../../../Engine/Content/ArtTools/ ../../../Engine/Content/Maps/ ../../../Engine/Content/MapTemplates/ ../../../Engine/Content/EngineSounds/ ../../../Engine/Content/BasicShapes/ ../../../Engine/Content/Animation/ ../../../Engine/Plugins/Experimental/ControlRig/ ../../../Engine/Content/EngineMaterials/BlueNoise.uasset ../../../Engine/Content/EngineMaterials/BlueNoise.uexp
As seen above, you can either exclude an asset directly, or a whole folder!