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"

Reducing Package size

I've found quite a few topics about this but none so far have been able to help me out unfortunately. I'm making a very simple visualization that I want to send to a client. It shows a very simple 3D model and has one blueprint in it. The data isn't more than 5MB's. However, upon packaging the project the packaged result is more than 200MB!

Not knowing if it was a content issue I've created a new blueprint based testgame without starter content and deleted the few items in the world, making it pitch black. I disabled all plugins except for the plugin manager itself, I ticked the "create compressed cooked packages" checkbox, disabled any irrelevant platforms, decreased the max point lights from 4 to 1 and changed the packaging type from developer to shipping. The exported package size is still a massive 170MB's. All the while the project folder size is only 18MB's.

I highly doubt the base engine with it's prime functions is so large. How else can mobile development be achieved? 170 or 200MB is unacceptable for a file to send to a client because as expected, he was rather put off by the large download for something so simple. I heard that the Tappy Chicken game is only 15MB so there must be something fundamental that I'm doing wrong. Unfortunately I don't posses the skills to modify the engine itself in C++ and disable functionality in there. That's way beyond my league.

Does anyone know what I'm doing wrong?

Product Version: UE 4.13
Tags:
more ▼

asked Oct 25 '16 at 06:50 AM in Packaging & Deployment

avatar image

Mr Robville
32 18 23 22

avatar image Holybreath Oct 25 '16 at 09:32 AM

Tappy chicken was done entirely in blueprints, you can actually download it, and take a look, may be you'll find some clues. Search in Launchers Learn tab.

avatar image Mr Robville Oct 25 '16 at 11:53 AM

Thanks for your reply. I can't seem to find anything that they've done differently opposed to my test project. All the right checkboxes are ticked. Or so it seems. I'm starting to think they've tweaked some of the C++ source code in order to reduce this package size like switching things off which they could have done quickly without thinking about it or having it documented.

I just find it so odd that an empty project is around 170MB's. If there was a difference of just a few MB's then it wouldn't bother me so much. But a finished game of 15MB compared to an empty one that is 155MB bigger indicates that something mayor is wrong with the package I exported.

avatar image Mr Robville Oct 25 '16 at 12:43 PM

When I look at the cook log it seems to be packing a lot of engine related content that I doubt should belong in a game such as Tutorials, primitive meshes and other stuff. There should be a way prevent this from cooking right?

One of the lines:

 UATHelper: Packaging (HTML5): UE4Editor-Cmd: [2016.10.25-12.34.15:924][  0]LogCook:Display: Cooking /Engine/Tutorial/Foliage/Foliage_Settings_Tutorial -> C:/Users/Name/Documents/Unreal Projects/Sizetest/Saved/Cooked/HTML5/Engine/Content/Tutorial/Foliage/Foliage_Settings_Tutorial.
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Mr Robville,

Please review this documentation, it is Reducing APK Package Size. While it is targeted for mobile development, the blacklisting feature is used on other platforms and will help pull out any files you plan on not using once packaged.

more ▼

answered Oct 31 '16 at 04:56 PM

(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