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"

Package Project - HTML5 - Big size files

Hi,

So I have a really simple scene with some floating cubes, the player can click the cubes to offset them. I'm only using a few assets in the level as you can see:

img

So I went to the File menu to package the project in HTML5, and what's my surprise when it finished... the sum of the files is more than 400 megs for a super simple game like this.

img2

Makes no sense? I have the starter content there, but I'm only using a cube and a plane from it.

Well maybe it does, but I hope I'm missing something, downloading 400 megs to play this doesn't seem right.

Product Version: Not Selected
Tags:
more ▼

asked Feb 26 '15 at 05:10 PM in Packaging & Deployment

avatar image

-FP
1 2 4 5

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi,

The way that packaging works currently is that if not map is given to the cooker (the default currently when packaging for any platform) all uasset files under the Game/Content folder are cooked and packaged even if they are not used. The simple fix is to remove the start content that you don't use as the starter content is large (400MB+ but it gets compressed for html5 which saves some space)

more ▼

answered Feb 26 '15 at 05:17 PM

avatar image

JoJo_2nd STAFF
328 9 4 7

avatar image JoJo_2nd STAFF Feb 26 '15 at 05:19 PM

Also, package a shipping build. That will reduce the size of UE4Game and speed up downloads.

avatar image -FP Feb 26 '15 at 05:20 PM

I see, thanks. Is there no way then to specify a map to the cooker so it will only cook it with the assets used in the specified map?

avatar image JoJo_2nd STAFF Feb 26 '15 at 05:34 PM

In the editor have a look at Edit->Project Settings->Packaging and try enabling "Cook only maps". - its a hidden option, you'll need to expand an arrow There should be a way to tell the cooker which maps to cook but I can't remember of the top of my head... sorry

avatar image -FP Feb 26 '15 at 05:51 PM

Cook only maps doesn't seem to be around now :( alt text Anyway, I'll try deleting the starter content, thanks!

(comments are locked)
10|2000 characters needed characters left
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