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"

Packaging with "Exclude editor content when cooking" is adding Editor content

I was performing a test with a fresh project when I realized there should be no reason my packaged project is 46MB (zipped) so I started digging around. Beyond the .PDB files being added, even though "Include Debug Files" is turned off, it is adding a bunch of content that I don't see how it's being referenced. Granted, I am still trying to narrow everything down, excluding plugins I don't need, and anything else I keep finding every iteration of attempting to reduce the package size.

When I extract my PAK file I noticed there is a lot of content in there that I really don't think should be included. I have Mobile completely disabled, to the best of my knowledge, and it is including "MobileResources" into the PAK. HUD elements and controls I am not even using. It's even adding a "Tutorial" folder with a bunch of assets. It's even including the "BasicShapes" folder with Cone, Cube, etc.. "EngineDebugMaterials"

Is there anything else I could be missing in the Packaging options to remove all of these files? My folder (from the extracted PAK file) is only 252KB and the "Engine" folder is 66.9MB.

I have "Exclude editor content when cooking" enabled, "Exclude movie files when staging" enabled, I'm only including one blank map, "For Distribution" is enabled, I am Inclusively nativizing blueprints, and not including prerequisites or the crash reporter.

Is this something that just happens on 4.20.3?

Any help would be appreciated. I am going to continue to see if I can reduce the size myself, of course.


Product Version: UE 4.20
more ▼

asked Mar 07 '19 at 04:52 PM in Packaging & Deployment

avatar image

3D Masons
8 1 2 3

avatar image 3D Masons Mar 09 '19 at 04:34 PM

I should have also mentioned my "game" at the time was only an empty map and a simple widget that showed only a text and a texture. Beyond the default font provided by the engine that should have been the only addition to my package.

avatar image 3D Masons Mar 09 '19 at 09:44 PM

I've also looked through the document: https://docs.unrealengine.com/en-us/Engine/Performance/ReducingPackageSize

I already had all of the settings mentioned enabled, except the "Cook all things in the project content directory," which I didn't know had to be enabled for the "Cook only maps" option. However, this actually INCREASED the size by 1MB.

At this moment I believe my only option is to package without a PAK file and manually delete assets that the game doesn't use at all.

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

0 answers: sort voted first
Be the first one to answer this question
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