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

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

Matt Aspland

Matt Aspland

Күн бұрын

Пікірлер: 104
@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 :)
@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
@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.
@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!
@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
@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
@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.
@Wojti4N
@Wojti4N Жыл бұрын
OMG thank you!!! Reduced almost an hour of packaging to measly 2 minutes.
@Angel_Productions_Official
@Angel_Productions_Official 8 ай бұрын
This is awesome thank you! finally fixed a packaging issue by doing this! awesome!
@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 :)
@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
@vollbracht8123
@vollbracht8123 3 жыл бұрын
You are a Lifesaver Good Sir, and I Salute you!
@quartaseries
@quartaseries 3 жыл бұрын
You are the best here on internet!
@evelynperez4521
@evelynperez4521 3 жыл бұрын
thank you very much Matt... this helped to reduce the size of my packaged project.
@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 :)
@gokupiske5965
@gokupiske5965 3 жыл бұрын
Oh my god, you really helped a lot, you are my god! Thank you and wish you a happy day
@MikeGemi
@MikeGemi 10 ай бұрын
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
@kombosabinho
@kombosabinho 3 жыл бұрын
Legend. Thank you so much for all of that man. :)
@MattAspland
@MattAspland 3 жыл бұрын
No problem mate! Happy to help! :)
@jasonkonan9023
@jasonkonan9023 3 жыл бұрын
Thank you very much bro! Hi from Russia))
@FPChris
@FPChris 9 ай бұрын
Any package setting suggestions for Surface Pro 7? I need a simple widget app to run
@blitz_786
@blitz_786 3 жыл бұрын
Amazing video mate!👍
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much! :)
@tronus_games
@tronus_games Жыл бұрын
Really helpful, thanks
@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
@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 :)
@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!
@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?
@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 :)
@kotarosdevgame
@kotarosdevgame 3 жыл бұрын
Good Work its make my Game 1 GB less, respect and thanks Matt.
@jiwik731
@jiwik731 Жыл бұрын
You can also use shared materials, textures and sounds while you are designing your game.
@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 !??
@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 :)
@bigmancozmo
@bigmancozmo 2 жыл бұрын
I wish Unreal would try to make the smallest file size by default.
@dkulinertours3022
@dkulinertours3022 8 ай бұрын
What u give me example..How to package game ue5 to android mobile..thank you very much
@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?
@onebuckgames
@onebuckgames 2 жыл бұрын
My apk went from 229 mb to 86 mb. Awesome.
@grineameurislem9945
@grineameurislem9945 2 жыл бұрын
Your game is big game or small?
@usamaalkaseeh1714
@usamaalkaseeh1714 2 жыл бұрын
Is there a way to reset Packaging Setting ???
@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?
@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?
@TiagoJSGuedes
@TiagoJSGuedes Жыл бұрын
And my game went from 4.7GB to 2.7GB thanks
@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
@oyunduragi52
@oyunduragi52 2 жыл бұрын
My game is broken because of you :(
@RenzoGamesAndMetalMusic
@RenzoGamesAndMetalMusic Жыл бұрын
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)
@Foxert-Presentations
@Foxert-Presentations Жыл бұрын
If you didn`t exist i would not make Unreal Engine Games
@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.
@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.
@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 :)
@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
@НейтральныйМаппер-з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
@s.e.c.u.8340
@s.e.c.u.8340 3 жыл бұрын
yes
@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 2 жыл бұрын
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 2 жыл бұрын
@@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.
@stig6339
@stig6339 2 жыл бұрын
steelwool should've have watched this video before releaseing their fnaf:security breach
@ItzRyanF00
@ItzRyanF00 3 жыл бұрын
Should I do full rebuild?
@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?
@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
@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
@vegitoblue2187
@vegitoblue2187 3 жыл бұрын
With epic purchasing oodle we can go more than this
@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% :)
@Сма_йлик
@Сма_йлик 3 жыл бұрын
;))
@FedorSimonov-h8y
@FedorSimonov-h8y Жыл бұрын
hello all my games uses 100 gpu even empty project what i can do?
How To Hide In A Locker - Unreal Engine 4 Tutorial
26:43
Matt Aspland
Рет қаралды 31 М.
How To Build Package And Export Your Game - Unreal Engine Tutorial
13:16
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 118 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 124 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 1,7 МЛН
Unreal Engine AI with Behavior Trees | Unreal Engine
26:38
Unreal Engine
Рет қаралды 360 М.
How to Show Camera view In Widget | Unreal Engine 5 |
7:14
Document Reader Pro Feature Overview & Quick Start Guide
23:49
Moonville Entertainment
Рет қаралды 7 М.
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 118 МЛН