Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Why is Unity taking up so much space on my computer?

Discussion in 'General Discussion' started by Asough, Nov 25, 2022.

  1. Asough

    Asough

    Joined:
    Sep 12, 2022
    Posts:
    145
    Unity takes up about 39gb on my ssd. I had a look, and it seems like i have a bunch of subfolders called 2021.3.15f1, 2021.3.16f1, 2020.3.43f1, 2022.2.1f1, 2022.2.0b16 and 2023.1.0a24 inside of the unity folder.

    It seems to be these subfolders that takes up so much space. Why?
     
    Last edited: Dec 25, 2022
  2. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    7,349
    Because you have 7 versions of Unity installed.

    It's pretty common to have a number of versions installed. I must have a few dozen by now.
     
    xVergilx, derkoi and Ryiah like this.
  3. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,750
    Each version is its own separate installation of Unity. An installation is around 5.5GB and you have seven of them therefore it's using about 39GB. That's not the only thing that will quickly eat up disk space. Assets downloaded from the store to be imported are also kept on the main drive.

    https://docs.unity3d.com/Manual/AssetStorePackages.html
     
    Last edited: Nov 25, 2022
  4. Asough

    Asough

    Joined:
    Sep 12, 2022
    Posts:
    145
    Can i delete some of them? It's been a while since I have updated Unity, so I guess that it must have happened the last time that I updated Unity.
     
    Last edited: Aug 29, 2023
  5. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,750
    Go ahead. You can uninstall versions from the hub by clicking the gear icon on the appropriate version under the Installs section.

    upload_2022-11-25_1-44-3.png
     
    Ruslank100 and Antypodish like this.
  6. Asough

    Asough

    Joined:
    Sep 12, 2022
    Posts:
    145
    Which one of them should I keep?
     
    Last edited: Aug 29, 2023
  7. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    7,349
    The one's you're using.
     
  8. PutridEx

    PutridEx

    Joined:
    Feb 3, 2021
    Posts:
    1,133
    One thing worth mentioning, if you installed a unity version, the .exe for the install itself will stick around (even though it's useless now, you already finished installing) - it takes a good amount of space. It's almost like another duplicate unity install. I always try to remember to delete it when I need some space.
     
  9. Asough

    Asough

    Joined:
    Sep 12, 2022
    Posts:
    145
    Is it best to install a version that has long term support?
     
    Last edited: Dec 25, 2022
  10. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,879
    Yes, for now that would be 2021.3 lts or 2020.3 lts
     
  11. Asough

    Asough

    Joined:
    Sep 12, 2022
    Posts:
    145
    I went with version 2021.3.15f1, since that was the recommended version. I have uninstalled the rest. Unity only takes up about 14gb now.
     
    Last edited: Dec 8, 2022
    DevDunk likes this.
  12. THE_OMNIPRESENT_SIMULATOR

    THE_OMNIPRESENT_SIMULATOR

    Joined:
    Sep 2, 2022
    Posts:
    11
    The more reasonable thing to be upset about is how much disk space opening a simple project has sometimes been using....WHY is a small project using about 15GB of disk space for swap space when opened???!!!
     
    MadeFromPolygons likes this.
  13. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,750
    Every project has at least two copies of the project's assets and packages: the source copy and a cache copy that is kept to accelerate performance of the editor and greatly reduce build times. Supporting additional platforms (by switching to that platform in the build menu) adds yet more files to the cache.