I have a large Unity project and I want to put the source code online. I tried to do it in GitHub but I am out of quota for LFS, so I decided to just zip the project folder and put it on the cloud. Before I do this, I would like to make the folder as small as possible. What files can I delete from the project folder, such that anyone who downloads the remaining files will be able to use my project?

  • \$\begingroup\$ I can't quite remember the details, but you should be able to delete any saved folders or intermediates for C# database files \$\endgroup\$
    – Natalo77
    May 5, 2020 at 14:03
  • \$\begingroup\$ This would also be a good read : arreverie.com/blogs/… \$\endgroup\$
    – Natalo77
    May 5, 2020 at 14:05

1 Answer 1


The standard Unity .gitignore file shows what files and folders should not be committed to git and can therefore be deleted.

# This .gitignore file should be placed at the root of your Unity project directory
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore

# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data

# Asset meta data should only be ignored when the corresponding asset is also ignored

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# Autogenerated Jetbrains Rider plugin

# Visual Studio cache directory

# Gradle cache directory

# Autogenerated VS/MD/Consulo solution and project files

# Unity3D generated meta files

# Unity3D generated file on crash reports

# Builds

# Crashlytics generated file

# Packed Addressables

# Temporary auto-generated Android Assets

The big one is the /Library folder, and of course any folder that contains build outputs.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .