Search Unity

Number of files associated with Unity projects

Discussion in 'Editor & General Support' started by TheMal-T, Dec 20, 2019.

  1. TheMal-T

    TheMal-T

    Joined:
    Feb 20, 2017
    Posts:
    5
    Hi!

    I want to take my Unity projects home for the holidays and meant to put them on a thumb-drive. To check if they fit, I used windows explorer and also compressed them into a zip-folder:
    • I have 5 projects
    • the total number of folders in this tree is 2993
    • the total number of files is 48458
    • the total size of all files is 2.97 GB (3.193 million bytes)
    • the total size on disk is 96.2 GB (103.395 million bytes)
    • the size of the compressed zip-archive is 594.359 MB (608624 bytes)
    This is a strong feature request to Unity to stop spamming our projects with a unreasonably large number of tiny files. I understand the reason for plain-text readable log files, but this is ludicrous!

    Merry Christmas and a Happy New Year...
     

    Attached Files:

  2. Deleted User

    Deleted User

    Guest

    The only things you need in your projects directories are:
    • Assets,
    • Packages,
    • ProjectSettings.
    You can remove the rest before storing them in your thumb drive, they will be reconstructed when you open your projects in Unity at home. ;)
     
    Joe-Censored likes this.
  3. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,779
    My thought is, to try defragment disk and see if that helps.
    Also saving project as asset, could potentially help organize files.
     
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,445
    One more issue/annoyance to add into that list
    - package and temp file generated hash(?) names are often too long (for windows ~255 char max) and then network backups will throw errors or just cannot copy files manually either (without error messages)