Number of files associated with Unity projects

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…

5301924--532575--FileSizeInsanity.png

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. :wink:

1 Like

My thought is, to try defragment disk and see if that helps.
Also saving project as asset, could potentially help organize files.

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)