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"

[Closed] Packaging only used content doesn't work.

The packaging feature doesn't pack only used content. I have one empty map resulting in a packaged game that's over 1 Gb in size! I use shipping config and "For distribution" set to true. Version of editor is 4.4 preview but I had the same problem in the previous versions as well.

Product Version: Not Selected
Tags:
more ▼

asked Aug 14 '14 at 01:58 PM in Bug Reports

avatar image

undercover
838 123 110 137

avatar image [Epic] Gribbs ♦♦ STAFF Aug 14 '14 at 05:19 PM

Howdy undercover,

Thank you for reporting this issue. Would be able able to provide any logs from the project and also your Dxdiag so that I may further investigate the issue? Also, Is there a simple step by step repro that i can use to recreate the issue?

Any additional information would be greatly appreciated.

Thanks and have a great day!

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

The question has been closed Sep 19 '14 at 04:48 PM by undercover for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

Hi! Sorry for the delay.

I removed everything in the DefaultEditor.ini config and added

 [AllMaps]
 +Map=/Game/Maps/map
 
 [AlwaysCookMaps]
 +Map=/Game/Maps/map

where "map" is my empty map. Now it seems to work.

Also I found a debug file (.pdb) that was almost 200 MB that had been added even if I used the shipping config and "For distribution". When removing that also the size became more reasonable.

Thanks anyway!

more ▼

answered Aug 19 '14 at 02:24 PM

avatar image

undercover
838 123 110 137

avatar image [Epic] Gribbs ♦♦ STAFF Aug 19 '14 at 02:25 PM

Glad to hear that you have figured out the issue. Have a great day!

avatar image germ1389 Oct 21 '14 at 10:33 AM

Where exactly do you integrate that code? is it a C++ project or a document outside UE4? I'm facing the same issue

avatar image undercover Oct 22 '14 at 02:06 PM

It's not any code, it's just the content in the DefaultEditor.ini config. You find it in your "Config" folder.

Replace "map" with your map name. You can also add more maps just by adding an other line below e.g. a second map "+Map=/Game/Maps/map2" where "map2" is the name of the second map.

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

Follow this question

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

Answers to this question