# Final package too large?

**URL:** <https://forums.unrealengine.com/t/final-package-too-large/352151>\
**Category:** Multiplayer & Networking\
**Tags:** share, unreal-engine, Multiplayer, packaging-projects, UE4, question\
**Created:** [March 29, 2016, 2:22pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151 "2016-03-29T14:22:32Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![gedamial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gedamial](https://forums.unrealengine.com/u/gedamial)\
**Post date:** [March 29, 2016, 2:22pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/1 "2016-03-29T14:22:32Z")

</div>

Hello.

I’m making a Shooter FPS game and I’d like to share it with my friends.  
Now I’d like my friend to have my game executable. I don’t want to send him the **whole project** (for obvious reason).

How to send him just the executable? In which way should I package the game?

Thanks!

---

<div class="post-metadata">

**Author:** ![gedamial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gedamial](https://forums.unrealengine.com/u/gedamial)\
**Post date:** [March 29, 2016, 4:17pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/2 "2016-03-29T16:17:37Z")

</div>

I packaged with the **Build Configuration: Shipping** but the final folder is **200MB!**

---

<div class="post-metadata">

**Author:** ![gedamial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gedamial](https://forums.unrealengine.com/u/gedamial)\
**Post date:** [March 30, 2016, 4:31pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/3 "2016-03-30T16:31:02Z")

</div>

Is it possible there’s no way to send my friend my game in order to test the multiplayer without waiting for **200MB** to upload?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [March 30, 2016, 6:14pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/4 "2016-03-30T18:14:59Z")

</div>

Hello gedamial,

How large is the project prior to packaging? In particular, how large is the content folder? Are you using a .pak file when packaging? Are you only including the necessary levels? The executable won’t be able to be sent by itself as it will also need the content that it needs to reference but we may be able to cut down the size some.

---

<div class="post-metadata">

**Author:** ![gedamial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gedamial](https://forums.unrealengine.com/u/gedamial)\
**Post date:** [March 30, 2016, 6:23pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/5 "2016-03-30T18:23:02Z")

</div>

Hello. Finally thanks for the reply.

The project **for now is just a test** , but _it will increase the size_. But I’m looking for a way to send my project in order to test multiplayer with my friends **in the fastest way possible**.

**How large is the project prior to packaging? In particular, how large is the content folder?**

The WindowsNoEditor folder is **334MB**  
The ProjectName folder is **215MB**  
The ProjectName/Content folder is **61,7MB**

**Are you using a .pak file when packaging?**  
Yes and it’s a monster: **63MB**

**Are you only including the necessary levels?**  
How do I exclude for the package the levels I won’t need?  
Anyway, in this case it’s only one level.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [March 30, 2016, 6:44pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/6 "2016-03-30T18:44:13Z")

</div>

Thank you for that information. Under Edit \> Project Settings \> Packaging, you can change quite a few options to get the size to be smaller. The size difference will change depending on how many unused assets you had in your project, but it should help either way.

- For Distribution: Check this. It shouldn’t include any unnecessary files, as if you were packaging to sell the game to a consumer
- Use Pak File: This should be on by default and you’ve already mentioned you have it on, but just to say, it helps quite a bit.
- Include Prerequisites: This is on by default and you can turn it off to reduce the size in most cases, but it wouldn’t be recommended for actual release since the prereqs may be needed by some people.
- Include Crash Reporter: Same deal as Prerequisites. Unless you need to get crash info from your friend, you can leave this out.
- Create compressed cooked packages: Simply compresses the data, turn it on to help out with size.
- List of maps to include in a packaged build: For this one, it’ll help even if you’re only using one map. Press the + icon to add an element and then use the browse (…) to select the map from your content folder. This’ll let the packaging process know that it only needs to include this map and only the assets it references.

Let me know if this helps at all.

---

<div class="post-metadata">

**Author:** ![gedamial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gedamial](https://forums.unrealengine.com/u/gedamial)\
**Post date:** [March 30, 2016, 7:08pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/7 "2016-03-30T19:08:21Z")

</div>

Ok I’ve packaged following those tips and now the **WindowsNoEditor** folder is **136MB**. Good result I’d say.

Now the project is just a default map with no more than 2 meshes and 3-4 C++ classes. It’s 136MB. What if the game starts being complex and detailed? I just can’t share a project with huuge dimensions with a friends **uploading a MASSIVE ammount of MegaBytes over and over and over again.**

If I wanted my friend to see the source code instead, all I have to do is make a repository on GitHub and push the changes there, right?

Because uploading the game over and over again is kind of time consuming (considering my upload speed 0.8mbps)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [March 30, 2016, 7:18pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/8 "2016-03-30T19:18:37Z")

</div>

That would most likely be the best idea. It would be best to get Git’s source control to use if you plan to do that.

---

<div class="post-metadata">

**Author:** ![gedamial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gedamial](https://forums.unrealengine.com/u/gedamial)\
**Post date:** [March 30, 2016, 7:20pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/9 "2016-03-30T19:20:23Z")

</div>

Okay, thanks. Last question and I’m done: to work properly, the game should be sent with the **whole**  **WindowsNoEditor** folder or there’s something I can cut off?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [March 30, 2016, 7:33pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/10 "2016-03-30T19:33:45Z")

</div>

As far as I know, the entire folder is needed. I could be incorrect however. The easiest way to test would be to cut/paste some folders and/or files out of the directory and see if it will launch. Sometimes trial and error can be the best bet.

---

<div class="post-metadata">

**Author:** ![gedamial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gedamial](https://forums.unrealengine.com/u/gedamial)\
**Post date:** [March 30, 2016, 7:38pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/11 "2016-03-30T19:38:43Z")

</div>

Ok I’ve sent the game to my friend and he gets this error:

![84450-xpqm4be.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/4/754fd63688a952a63d17613871e5c1e9899f37b9.png)

Is there something he should do to run my game? 😕

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [March 30, 2016, 7:42pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/12 "2016-03-30T19:42:22Z")

</div>

That means that he does need the prerequisites. Once this installed once, he shouldn’t need it again. If you enable the “Include Prerequisites” option and package again, you’ll get an .exe at this file path: WindowsNoEditor\Engine\Extras\Redist\en-us

If you send him that executable, it should install what he needs to run the program.

---

<div class="post-metadata">

**Author:** ![gedamial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gedamial](https://forums.unrealengine.com/u/gedamial)\
**Post date:** [March 30, 2016, 7:43pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/13 "2016-03-30T19:43:47Z")

</div>

So in short, to avoid this kind of problem for everyone, it’s good practice to always check that?.. just in case

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [March 30, 2016, 7:48pm UTC](https://forums.unrealengine.com/t/final-package-too-large/352151/14 "2016-03-30T19:48:14Z")

</div>

In most cases, yes. When working with other developers it usually isn’t a concern since they would need that redist to run the editor anyway.
