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

Поділитися
Вставка
  • Опубліковано 6 лип 2024
  • Hey guys, in today's video, I'm going to be showing you how to reduce the overall file size of your packaged game in Unreal Engine 4. I will be using the unreal docs for most of these methods.
    Unreal Documentation: docs.unrealengine.com/en-US/T...
    #Ue4 #UnrealEngine4 #Ue4Tutorial
    ___________________________________________________________________________
    00:00 - Intro/Overview
    00:52 - Tutorial
    06:33 - Final Overview/Outro
    ___________________________________________________________________________
    Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
    The Basics Of Nodes Playlist: • The Basics Of Nodes In...
    Blender Tutorials Playlist: • Blender Tutorials
    ___________________________________________________________________________
    If you enjoy make sure to subscribe: / @mattaspland
    Join My Discord Server: / discord
    Follow Me On Instagram: / matt_aspland_
    ___________________________________________________________________________
    If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
    Link to PayPal: www.paypal.com/
    You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
    Thank you :)
    ___________________________________________________________________________
    ♫Music By♫
    ●Kronicle - Chill Noons
    ●Soundcloud - / the-chemist-10

КОМЕНТАРІ • 104

  • @okasareru7226
    @okasareru7226 3 роки тому +53

    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 2 роки тому

      What do you mean by clean copy of my game?

    • @christopherkornosky8131
      @christopherkornosky8131 2 роки тому +2

      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 2 роки тому +8

      @@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 роки тому +34

    This definitely is something you should do before packaging. I do this type of thing before every build now. Thanks Matt!

    • @MattAspland
      @MattAspland  3 роки тому +5

      Absolutely, helps with efficiency as well as sharing your game :)

  • @mathieunoel6013
    @mathieunoel6013 2 роки тому +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.

  • @The.adrianm
    @The.adrianm 2 роки тому

    You are one of my favorite youtubers.
    Thank you for all of the tutorials!

  • @stevenwynn819
    @stevenwynn819 3 роки тому +8

    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!

  • @stayretro310
    @stayretro310 3 роки тому +2

    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

  • @Angel_Productions_Official
    @Angel_Productions_Official 3 місяці тому

    This is awesome thank you! finally fixed a packaging issue by doing this! awesome!

  • @dankyss
    @dankyss 3 роки тому +2

    genuinely great video, very helpful! Keep it up man!

  • @evelynperez4521
    @evelynperez4521 3 роки тому

    thank you very much Matt... this helped to reduce the size of my packaged project.

  • @wojteknenko
    @wojteknenko Рік тому

    OMG thank you!!! Reduced almost an hour of packaging to measly 2 minutes.

  • @NinjaThug
    @NinjaThug 2 роки тому

    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.

  • @vollbracht8123
    @vollbracht8123 3 роки тому

    You are a Lifesaver Good Sir, and I Salute you!

  • @alucodev
    @alucodev 2 роки тому +7

    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.)

  • @quartaseries
    @quartaseries 3 роки тому

    You are the best here on internet!

  • @tronus_games
    @tronus_games Рік тому

    Really helpful, thanks

  • @kombosabinho
    @kombosabinho 3 роки тому

    Legend. Thank you so much for all of that man. :)

    • @MattAspland
      @MattAspland  3 роки тому +1

      No problem mate! Happy to help! :)

  • @gokupiske5965
    @gokupiske5965 2 роки тому

    Oh my god, you really helped a lot, you are my god! Thank you and wish you a happy day

  • @novaria
    @novaria 2 роки тому

    you just made me save about 300 hours of my life over the next 2 years

  • @blitz_786
    @blitz_786 3 роки тому

    Amazing video mate!👍

  • @ArtofWEZ
    @ArtofWEZ 3 роки тому

    Thank You, this is very useful

    • @MattAspland
      @MattAspland  3 роки тому

      Thanks man, glad I could help :)

  • @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 :)

  • @TheBruvioli
    @TheBruvioli 3 роки тому +2

    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 :)

  • @FPChris
    @FPChris 5 місяців тому

    Any package setting suggestions for Surface Pro 7? I need a simple widget app to run

  • @fleurbird
    @fleurbird 3 роки тому +4

    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?

  • @jiwik731
    @jiwik731 Рік тому

    You can also use shared materials, textures and sounds while you are designing your game.

  • @jasonkonan9023
    @jasonkonan9023 3 роки тому

    Thank you very much bro! Hi from Russia))

  • @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.

  • @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

  • @kotarosdevgame
    @kotarosdevgame 3 роки тому

    Good Work its make my Game 1 GB less, respect and thanks Matt.

  • @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.

  • @Si-Toecutter
    @Si-Toecutter 3 роки тому +4

    My game on steam is 10GB, I had no idea it was cooking and packaging everything I was not using in the content folders !??

  • @MikeGemi
    @MikeGemi 6 місяців тому

    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

  • @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!! :)

  • @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?

  • @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)

  • @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

  • @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?

  • @mobydickcat9544
    @mobydickcat9544 Рік тому

    how can i know which plugins i use and which i do not use

  • @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!

  • @dkulinertours3022
    @dkulinertours3022 4 місяці тому

    What u give me example..How to package game ue5 to android mobile..thank you very much

  • @usamaalkaseeh1714
    @usamaalkaseeh1714 Рік тому

    Is there a way to reset Packaging Setting ???

  • @joker-jd3jd
    @joker-jd3jd 3 роки тому +1

    When my game opens, the unreal intro appears, I don't want it to come out, what should I do?

  • @ItzRyanF00
    @ItzRyanF00 2 роки тому +1

    Should I do full rebuild?

  • @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

  • @s.e.c.u.8340
    @s.e.c.u.8340 3 роки тому

    yes

  • @Jimmybear06
    @Jimmybear06 3 роки тому +1

    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 роки тому +1

      @@MattAspland thanks for the help :)

    • @MattAspland
      @MattAspland  3 роки тому

      @@Jimmybear06 No problem :)

  • @user-si9jy3zs1j
    @user-si9jy3zs1j 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

  • @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?

  • @ak-gi3eu
    @ak-gi3eu 3 роки тому +1

    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.

  • @parasyadav7742
    @parasyadav7742 3 роки тому +1

    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 роки тому +2

      It's on my list so I can definitely look into it :)

  • @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 роки тому +1

      @@MattAspland i did fix again. Thank you

    • @MattAspland
      @MattAspland  3 роки тому

      @@i5u2 Ah great, nice work

  • @i5u2
    @i5u2 3 роки тому +1

    My Project is 133Mb, But when i launch it to my Phone it become 365Mb. Any Help Plz?

    • @sandropertini8294
      @sandropertini8294 Рік тому

      I´m dealing w the same problem, did you solved that? Thankzzzz

  • @bigmancozmo
    @bigmancozmo 2 роки тому +1

    I wish Unreal would try to make the smallest file size by default.

  • @onebuckgames
    @onebuckgames 2 роки тому +1

    My apk went from 229 mb to 86 mb. Awesome.

  • @scomexxxx
    @scomexxxx 3 роки тому +1

    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 :)

  • @b4ew
    @b4ew 3 роки тому +1

    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 ua-cam.com/video/r_FwKMBXahM/v-deo.html

  • @TiagoJSGuedes
    @TiagoJSGuedes Рік тому +1

    And my game went from 4.7GB to 2.7GB thanks

  • @oyunduragi52
    @oyunduragi52 2 роки тому

    My game is broken because of you :(

  • @allashama
    @allashama 2 роки тому +1

    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.

  • @MustafaDagdelen
    @MustafaDagdelen 3 роки тому

    6:05 100kb reduce ?

    • @MattAspland
      @MattAspland  3 роки тому +1

      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% :)

  • @youtubi123youtubipel
    @youtubi123youtubipel 2 роки тому +1

    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!

  • @stig6339
    @stig6339 2 роки тому

    steelwool should've have watched this video before releaseing their fnaf:security breach

  • @vegitoblue2187
    @vegitoblue2187 3 роки тому

    With epic purchasing oodle we can go more than this

  • @Сма_йлик
    @Сма_йлик 3 роки тому +1

    ;))

  • @Foxert-Presentations
    @Foxert-Presentations 8 місяців тому +1

    If you didn`t exist i would not make Unreal Engine Games

  • @user-dh5zj8rh2x
    @user-dh5zj8rh2x 10 місяців тому

    hello all my games uses 100 gpu even empty project what i can do?