x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Different apk size in 4.3 and 4.2?

Hello! Why are games packaged in UE4.3 larger than if it did in UE4.2 on 15mb? And if we compare the logs in 4.3 adds a lot of pngs and fonts from

Engine/Content/Slate/...

Can it be a reason of bigger size and how can I get rid of it?

Product Version: Not Selected
Tags:
more ▼

asked Aug 08 '14 at 01:04 PM in Packaging & Deployment

avatar image

Accumu1ator
16 1 3 4

avatar image Moss Mar 11 '15 at 10:50 AM

Do you still need assistance on the issue?

avatar image Accumu1ator Mar 13 '15 at 05:38 PM

Hello. I tried different ways but couldn't do it right way. I don't work on the project now. And honestly I don't know if there is the problem still in UE4.7. But anyway thank you!

avatar image Moss Mar 13 '15 at 06:04 PM

I'll resolve the issue. If you have any updates please let me know ^^

avatar image spdemille Mar 25 '17 at 08:09 AM

i have yet to find a valid solution to the apk file size. so far, even a blank empty project is far too big to sell on the market

avatar image Moss Mar 25 '17 at 09:32 AM

Disable engine content and any plugins you do not use, this will get rid of a ton of stuff.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Try packaging your build in Shipping mode (both cooking and building) using the UnrealFrontend. This usually strips a lot of unnecessary content out.

more ▼

answered Aug 08 '14 at 01:10 PM

avatar image

Moss
6.4k 127 98 606

avatar image Accumu1ator Aug 08 '14 at 02:28 PM

Thank you for quick answer. I dont know how use the UnrealFrontend, but I will try:)

avatar image Accumu1ator Aug 08 '14 at 07:12 PM

I tried use UnrealFrontend, but it didn't help me.

avatar image Moss Aug 08 '14 at 08:16 PM

What is the exact size difference?

avatar image Accumu1ator Aug 08 '14 at 08:28 PM

For example, when I build ETC1 TappyChicken in 4.2 its size 28mb, but in 4.3 its size 48mb.

avatar image Moss Aug 09 '14 at 08:04 AM

In Shipping mode? Could you check the texture size in px within 'DefaultEngine.ini' and the game version of that ini (if it exists) and check the size of the texture groups?

avatar image Accumu1ator Aug 09 '14 at 09:47 AM

Yeah in Shipping. Which textures? In game version of DefaultEngine.ini I dont see any information about textures. And where locate DefaultEngine.ini in engine?

avatar image Moss Aug 09 '14 at 12:54 PM

So then you are using the base settings which will result in quite large sizes. Add the following to your DefaultEngine.ini and change the MaxLod size to 512 for example:

 [SystemSettings]
 TEXTUREGROUP_World=(MinLODSize=1,MaxLODSize=4096,LODBias=0,MinMagFilter=aniso,MipFilter=point)
 TEXTUREGROUP_WorldNormalMap=(MinLODSize=1,MaxLODSize=4096,LODBias=0,MinMagFilter=aniso,MipFilter=point)
 TEXTUREGROUP_WorldSpecular=(MinLODSize=1,MaxLODSize=4096,LODBias=0,MinMagFilter=aniso,MipFilter=point)
 ...

Copy all from BaseEngine.ini regarding the texture groups from the engine config folder.

avatar image Accumu1ator Aug 10 '14 at 09:48 AM

Thanks for help! But after changing it my file has the same size:) Actually some ugly method helps me reduce size of my build on almost 20mb. I just remove some files from engine before building and my game works fine:))))) Does anybody know where and what Do i have to write in ini files for excluding folders from build?

avatar image Moss Aug 10 '14 at 10:11 AM

Could you post which files did you got rid of? Also you should try reducing the size of all texture groups (or you already did :D).

avatar image Accumu1ator Aug 10 '14 at 10:22 AM

Engine\Content\Slate\Fonts

Engine\Content\Slate\Common

and delete +ContentDirectories=/Engine/MobileResources from BaseEditor in Engine\Config

Don't forget save before remove, ue4 does not run without it:)))

It's really bad method and it would be nice to realise how to do this in ini files in project.

avatar image spdemille Mar 25 '17 at 08:07 AM

will getting rid of the slate stuff mess with my UI? isn't UMG built on slate?

avatar image DevilEye Aug 10 '14 at 12:17 PM

@Accumu1ator thanks for sharing this info,helped me a lot. My project OBB size is reduced by 15mb.

Can someone from staff guide more on this. What else can we remove from engine while packaging game, to get final package in minimum size :)

avatar image Moss Aug 10 '14 at 02:58 PM

It might be possible to adjust some in the platform specific ini file. Instead of deleting the statement from the Base one add it to yours but with a minus character (-ContentDirectories=/Engine...).

Getting rid of slate stuff will also get rid of the ability to use slate in your build.

avatar image DevilEye Aug 11 '14 at 05:05 AM

where exactly do i need to add -ContentDirectories command. I tried adding this to my project's DefaultEngine.ini under [SystemSettings] but didn't helped me.

avatar image Moss Aug 11 '14 at 10:24 AM

It should go into 'DefaultEditor.ini' under the [UI] group. Always check the base engine config files to assure you make the proper changes.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question