How To Reduce Packaged Game Size | Unreal Documentation - Unreal Engine 4 Tutorial

  Рет қаралды 39,229

Matt Aspland

Matt Aspland

Күн бұрын

Пікірлер: 104
@okasareru7226
@okasareru7226 3 жыл бұрын
Great guide! Just to add: when you finish the game, you can migrate your levels to a clean copy of your game, and it will only bring the assets used in your levels. Also, there are tons of the in-built plugins which can be disabled, which again will reduce the game file size quite a lot. And last, building for shipping, instead of development, reduces A LOT. Cheers man.
@pocdavactube3475
@pocdavactube3475 3 жыл бұрын
What do you mean by clean copy of my game?
@christopherkornosky8131
@christopherkornosky8131 3 жыл бұрын
Legit saved me so much for for my game jam game. Went from 2.4GB to 800 MB. I just had to export/import custom project input settings and set the default game instance class to my custom class.
@melacsirrah198
@melacsirrah198 3 жыл бұрын
@@pocdavactube3475 Basically make a new project with no starter content, go back to the project that has all your work in it, find your level maps, right click, go to migrate, and then send them to that new project
@TheF4c3m4n
@TheF4c3m4n 3 жыл бұрын
This definitely is something you should do before packaging. I do this type of thing before every build now. Thanks Matt!
@MattAspland
@MattAspland 3 жыл бұрын
Absolutely, helps with efficiency as well as sharing your game :)
@stevenwynn819
@stevenwynn819 3 жыл бұрын
Matt, this is important stuff that most people (including me) don't spend enough thought on. Thanks for the useful tips.
@MattAspland
@MattAspland 3 жыл бұрын
Thanks Steve, it was something I looked over on my first packaged game too, but now I always use it!
@mathieunoel6013
@mathieunoel6013 2 жыл бұрын
Man every time I'm looking for a tutorial I end up searching your channel, you're my go-to reference now! Keep it up and thanks.
@alucodev
@alucodev 2 жыл бұрын
Another tip that might help someone out (after following these tips and deleting every unused asset I could find, this helped me cut down from 111MB to the desired 100MB for my uni submission): be sparing with your materials! I made a simple game using just 2 materials from Unreal's Starter Content - a slate material for the walls and floor, and a rust material for iron torches hanging on the walls. I saw the rust material (not to mention its associated texture files) took up about 12MB, so I decided I would simply delete the rust material, and replace all references to it with the slate material. This meant my iron torches looked like they were made of stone instead of metal, but in retrospect, I don't think ANYONE playing the game will notice what is quite a minor detail, especially in dark lighting. This simple change took my packaged project down to 95MB which is all I needed. So just think about which details are actually necessary at the expense of your file size!! (If you want to see how big each asset is, right click any asset in the Content Browser and click 'Show in Explorer'. Then you can look through the content folder of your project and see which assets have the biggest file sizes, and then you can selectively purge them/replace with alternatives you're already using.)
@grineameurislem9945
@grineameurislem9945 2 жыл бұрын
Thx
@youtubi123youtubipel
@youtubi123youtubipel 3 жыл бұрын
Dear Lord!!! Before this tutorial, my Android Package failed becaus it exceeded the 2gb limit. After this tutorial my project packaged in a matter of seconds, and the size of the APK + OBB went to 180mb!!!!!! This is insaaaaane!
@stayretro310
@stayretro310 3 жыл бұрын
Thanks for making this tutorial, uploading my project to the cloud was being a real pain but after watching this I managed to cut off around 600mb off from my project. :D
@fleurbird
@fleurbird 3 жыл бұрын
If you have a tiled landscape, remember you must add all the tiles individual. This can be quite some work, especially if you have a huge open world. But it will be worth it. Of course hit that like button if you haven't done already and leave a comment, because it really helps in the youtube algorithm. And I'll see you in the next video.
@farhanahmed7152
@farhanahmed7152 3 жыл бұрын
So landscapes aren't packaged along with levels/maps by default? Also, is this done in the project settings too?
@TheBruvioli
@TheBruvioli 3 жыл бұрын
This guy is the brakeys of unreal your tutorials are great im so excited for new videos :)
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much Joshua mate! That means a lot to me :)
@TheBruvioli
@TheBruvioli 3 жыл бұрын
@@MattAspland aww your welcome :)
@Wojti4N
@Wojti4N Жыл бұрын
OMG thank you!!! Reduced almost an hour of packaging to measly 2 minutes.
@The.adrianm
@The.adrianm 2 жыл бұрын
You are one of my favorite youtubers. Thank you for all of the tutorials!
@dankyss
@dankyss 3 жыл бұрын
genuinely great video, very helpful! Keep it up man!
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much man!! :)
@novaria
@novaria 2 жыл бұрын
you just made me save about 300 hours of my life over the next 2 years
@NinjaThug
@NinjaThug 3 жыл бұрын
Awesome. Thanks for the 76th time, Matt! I'll edit this comment with the current and updated game size after applying these tips in my game.
@Angel_Productions_Official
@Angel_Productions_Official 6 ай бұрын
This is awesome thank you! finally fixed a packaging issue by doing this! awesome!
@MikeGemi
@MikeGemi 8 ай бұрын
Asset merging and this one is counter productive to performance, but if you are able to removing all LODs on static meshes will reduce it by a lot
@mdsahil-mq6uy
@mdsahil-mq6uy 2 жыл бұрын
bro I zip up my project and size was 25mb for Android and after packaging it increased to 80mb.what should I do pls reply
@quartaseries
@quartaseries 3 жыл бұрын
You are the best here on internet!
@vollbracht8123
@vollbracht8123 3 жыл бұрын
You are a Lifesaver Good Sir, and I Salute you!
@halflife-gaming
@halflife-gaming Жыл бұрын
Hey there, cool tutorial. Thank you. I would like to see a tutorial about packaging not only how to CREATE package, but with information how to DO NOT CREATE it, because there are few ways to create executables in UE and not every way is right way.
@que_scopes5884
@que_scopes5884 3 жыл бұрын
Matt thanks for the tutorials if it wasnt for them i would have no idea what to do so thanks so much
@MattAspland
@MattAspland 3 жыл бұрын
Thanks so much for those kind words man, it means a lot :)
@evelynperez4521
@evelynperez4521 3 жыл бұрын
thank you very much Matt... this helped to reduce the size of my packaged project.
@gokupiske5965
@gokupiske5965 3 жыл бұрын
Oh my god, you really helped a lot, you are my god! Thank you and wish you a happy day
@Si-Toecutter
@Si-Toecutter 3 жыл бұрын
My game on steam is 10GB, I had no idea it was cooking and packaging everything I was not using in the content folders !??
@blitz_786
@blitz_786 3 жыл бұрын
Amazing video mate!👍
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much! :)
@jiwik731
@jiwik731 Жыл бұрын
You can also use shared materials, textures and sounds while you are designing your game.
@kombosabinho
@kombosabinho 3 жыл бұрын
Legend. Thank you so much for all of that man. :)
@MattAspland
@MattAspland 3 жыл бұрын
No problem mate! Happy to help! :)
@tronus_games
@tronus_games Жыл бұрын
Really helpful, thanks
@Jimmybear06
@Jimmybear06 3 жыл бұрын
YOU ARE A LIFESAVER - also do u know long the loading times would be extra if i reduce the file size? and do u know whether a zipped package can be used for a game that can be uploaded to steam?
@MattAspland
@MattAspland 3 жыл бұрын
Happy to help man!! I'm not too sure how long the extra loading would be, although it isn't too long. The bigger your game the longer it will take, I believe it is similar to deleting cache if you are aware of how that works. In general, not necessarily UE4. Also, I think you have to have a zipped package to upload to steam, so yep that will still work :)
@Jimmybear06
@Jimmybear06 3 жыл бұрын
@@MattAspland thanks for the help :)
@MattAspland
@MattAspland 3 жыл бұрын
@@Jimmybear06 No problem :)
@jasonkonan9023
@jasonkonan9023 3 жыл бұрын
Thank you very much bro! Hi from Russia))
@joker-jd3jd
@joker-jd3jd 3 жыл бұрын
When my game opens, the unreal intro appears, I don't want it to come out, what should I do?
@Gcaptain14
@Gcaptain14 3 жыл бұрын
Hello man, this video will help me when i launch my game
@MattAspland
@MattAspland 3 жыл бұрын
Hey mate, that's great to hear!! :)
@ArtofWEZ
@ArtofWEZ 3 жыл бұрын
Thank You, this is very useful
@MattAspland
@MattAspland 3 жыл бұрын
Thanks man, glad I could help :)
@kotarosdevgame
@kotarosdevgame 3 жыл бұрын
Good Work its make my Game 1 GB less, respect and thanks Matt.
@FPChris
@FPChris 8 ай бұрын
Any package setting suggestions for Surface Pro 7? I need a simple widget app to run
@scomexxxx
@scomexxxx 3 жыл бұрын
Please consider making a tutorial on how to cast a fishing lure into the water so that it would look believable/lifelike. All the fishing assets i have found on the marketplace have terrible looking casting. Thank you for the awesome content!
@MattAspland
@MattAspland 3 жыл бұрын
Great idea, I can look into it :)
@milan.980
@milan.980 3 жыл бұрын
thank you for considering my suggestion :D, i looked docs and done, but not that good, I will watch and try again :D
@MattAspland
@MattAspland 3 жыл бұрын
Happy to help Milan, it was a great idea!
@onebuckgames
@onebuckgames 2 жыл бұрын
My apk went from 229 mb to 86 mb. Awesome.
@grineameurislem9945
@grineameurislem9945 2 жыл бұрын
Your game is big game or small?
@i5u2
@i5u2 3 жыл бұрын
My Project is 133Mb, But when i launch it to my Phone it become 365Mb. Any Help Plz?
@sandropertini8294
@sandropertini8294 2 жыл бұрын
I´m dealing w the same problem, did you solved that? Thankzzzz
@fooloo993
@fooloo993 2 жыл бұрын
When I try to add the the specific map after choosing cook only maps, I get an error that there is an illegal '.' in my filename or filepath. The only '.' I see is in the .umap at the end of the filename, so I'm not sure what to do.
@Desh681
@Desh681 Жыл бұрын
Is there a way to tell roughly how large the packaged project will be _before_ you build? My project was around 15gb. I package, and it's 2gb... Does it only compile the stuff used within the map, and not the hordes of assets you have in the project?
@ak-gi3eu
@ak-gi3eu 3 жыл бұрын
hey can you example how much did it reduces ?like for 22 mb it reduce 11 mb like examples
@MattAspland
@MattAspland 3 жыл бұрын
Hey, unfortunately it isn't always the same calculation. For example, different games will have differing amounts reduced, and different assets will be more efficiently compressed than others. However, like I mentioned in the video, in my experience I've had projects be reduced my 60 to 70% in file size. So there isn't a set equation, however in my experience with multiple projects, it is typically more than half. However keep in mind these were small projects to start with, 500mb ish.
@umarcga7823
@umarcga7823 Жыл бұрын
Removing plugins effects .apk build and the final product dont show android ads?? Any help please... I tried to remove different plugins and removing any would cause problems
@RmaNYouTube
@RmaNYouTube 2 жыл бұрын
Is there anyway to do these without packaging the game? I'm currently working on a project and in the WIP state, I preiodically Upload it in the cloud for backup. Is there anyway to do that?
@usamaalkaseeh1714
@usamaalkaseeh1714 2 жыл бұрын
Is there a way to reset Packaging Setting ???
@superSamioo
@superSamioo 3 жыл бұрын
Hey bro can you make a tutorial on different types of weapon with different fire modes (multiplayer fps) ? It would help me a lot if you did
@bigmancozmo
@bigmancozmo 2 жыл бұрын
I wish Unreal would try to make the smallest file size by default.
@dkulinertours3022
@dkulinertours3022 6 ай бұрын
What u give me example..How to package game ue5 to android mobile..thank you very much
@parasyadav7742
@parasyadav7742 3 жыл бұрын
Bro can you make a tutorial on horror engine. with the help that making a horror game and with help of assest given in that engine
@MattAspland
@MattAspland 3 жыл бұрын
It's on my list so I can definitely look into it :)
@SquashedBugGames
@SquashedBugGames Жыл бұрын
Do you need to add all the level streamed maps as well? Or are they linked to the persistent level maps? --update: Streamed levels are added automatically (I tested it)
@ItzRyanF00
@ItzRyanF00 3 жыл бұрын
Should I do full rebuild?
@s.e.c.u.8340
@s.e.c.u.8340 3 жыл бұрын
yes
@TiagoJSGuedes
@TiagoJSGuedes Жыл бұрын
And my game went from 4.7GB to 2.7GB thanks
@НейтральныйМаппер-з2м
@НейтральныйМаппер-з2м 3 жыл бұрын
Bro, what should I do if I'm a newbie in ue4 and have a shit ton of plugins enabled? I don't know if I even use them lmao
@allashama
@allashama 2 жыл бұрын
when i package my game, i havea lots of asset in my browser, but my map is empty.. the packaged game is 11gb! wtf.. if i do the same with Unity for exemple.. Unity will only take into consideration, what is into play! 50-200mb for Unity and 11gb for Unreal lol.. it's really unrealistic.
@grineameurislem9945
@grineameurislem9945 2 жыл бұрын
Did you fix it?
@luchiatton1115
@luchiatton1115 Жыл бұрын
Probably you have the default empty map set as main game map .. make sure you change that in project setting > map and modes
@allashama
@allashama Жыл бұрын
@@grineameurislem9945 yes i did the problem was, when i pakcage my game, it also package all the asset i have in the browser, There is an option in Unreal where it will only package what is in game or in a map. it reduced the size to around 450mb.
@b4ew
@b4ew 3 жыл бұрын
is there any way to do a app to install a game? that's kinda hard;-;
@AboOmar200
@AboOmar200 3 жыл бұрын
yeah, that would be nice.
@dodgemarshals7370
@dodgemarshals7370 3 жыл бұрын
You mean a launcher like Epic Games launcher?
@b4ew
@b4ew 3 жыл бұрын
@@dodgemarshals7370 something like that, but only a download button and something more
@AboOmar200
@AboOmar200 3 жыл бұрын
@@dodgemarshals7370 yes a download button and a Launch button
@dodgemarshals7370
@dodgemarshals7370 3 жыл бұрын
@@AboOmar200 kzbin.info/www/bejne/qJCpqH6Dd72Unq8
@oyunduragi52
@oyunduragi52 2 жыл бұрын
My game is broken because of you :(
@i5u2
@i5u2 3 жыл бұрын
Can you help me plz. When i import character my software crash and i got message error: CDO
@MattAspland
@MattAspland 3 жыл бұрын
Ah okay, do you know what error you are getting?
@i5u2
@i5u2 3 жыл бұрын
@@MattAspland i did fix again. Thank you
@MattAspland
@MattAspland 3 жыл бұрын
@@i5u2 Ah great, nice work
@andrelucas4473
@andrelucas4473 3 жыл бұрын
Hey Matt, I'm having a problem while packaging my game for this hole weekend. Can you help me? Idk, can I send you a printscreen on Discord?
@Foxert-Presentations
@Foxert-Presentations 10 ай бұрын
If you didn`t exist i would not make Unreal Engine Games
@stig6339
@stig6339 2 жыл бұрын
steelwool should've have watched this video before releaseing their fnaf:security breach
@MustafaDagdelen
@MustafaDagdelen 3 жыл бұрын
6:05 100kb reduce ?
@MattAspland
@MattAspland 3 жыл бұрын
Hey, no they weren't the same project. One was a tester, so it wasn't before and after this process. They were both after. I saved about 200-300 mb if I remember correctly. Which might not sound like a lot, but it was a small project so relative, it was 60-70% :)
@vegitoblue2187
@vegitoblue2187 3 жыл бұрын
With epic purchasing oodle we can go more than this
@Сма_йлик
@Сма_йлик 3 жыл бұрын
;))
@mobydickcat9544
@mobydickcat9544 2 жыл бұрын
how can i know which plugins i use and which i do not use
@FedorSimonov-h8y
@FedorSimonov-h8y Жыл бұрын
hello all my games uses 100 gpu even empty project what i can do?
I solved Unreal Engine's Package Size Problem...
14:35
Cobra Code
Рет қаралды 73 М.
5 Tips to Optimize Environments in Unreal Engine 4
12:23
Jakub Hałuszczak
Рет қаралды 71 М.
Why Solo Developers Should Use Unreal
9:51
Thomas Brush
Рет қаралды 383 М.
Unreal Engine: Understanding Maps, Levels, and Sublevels using the Levels Tab.
26:27
5 Tricks you (probably) don't know about Unreal Engine 5
10:44
Cinecom.net
Рет қаралды 382 М.
I Struggled With Blueprint Interfaces for Years!! (Unreal Engine 5)
16:48
Glass Hand Studios
Рет қаралды 184 М.
How To Build Package And Export Your Game - Unreal Engine Tutorial
13:16
Why Unreal Engine 5.4 is a Game Changer
12:46
Unreal Sensei
Рет қаралды 1,3 МЛН
How To Add First Person Navigation To Your Scene in Unreal Engine 5
13:32
Adam Z - Learn Archviz
Рет қаралды 4,8 М.