7

I want to export my Unity project as a ZIP folder, but I can't. When I click on Asset > Export Packages, only one scene gets exported. I want to export the project so that I can send it.

App
  • 159
  • 2
  • 2
  • 6

3 Answers3

13

You can zip the Assets folder and ProjectSettings folder and ignore all other files and directories.

You don't need Library and Obj folder. They get created automatically.

The project files (.csproj) and similar files also get created automatically.

Alternatively you can export the whole project as a package:

Use Export Package to create your own Custom Package.

  1. Open the project you want to export assets from.

  2. Choose Assets > Export Package… from the menu to bring up the Exporting Package dialog box.

  3. In the dialog box, select the assets you want to include in the package by clicking on the boxes so they are checked.

  4. Leave the include dependencies box checked to auto-select any assets used by the ones you have selected.

  5. Click on Export to bring up File Explorer (Windows) or Finder (Mac) and choose where you want to store your package file. Name and save the package anywhere you like.

Bizhan
  • 16,157
  • 9
  • 63
  • 101
  • In effect omit everything that you'd normally have in [the .gitignore](http://stackoverflow.com/questions/18225126/how-to-use-git-for-unity-source-control/18225479#18225479). But at that point, just creating a repo for this might be more convenient... =P – Serlite Dec 14 '16 at 20:01
  • @Serlite across every unity project I have encountered so far only Assets and ProjectSettings contained the vital parts. however one may still reduce the size by ignoring as .gitignore does! – Bizhan Dec 14 '16 at 21:52
1

Just save your scene and project and close unity and simply copy the project folder or make an archive of that main project folder and copy it. (Closing Unity is an important step because all temporary files are deleted which were opened)

And about the file size, yes generally they are bigger if you have used high quality models or textures. You can try building it for a platform like Android or Windows etc. and send that executable build to somebody else (usually smaller file size).

P.S: Have tested it before and works like a charm.

Sahir
  • 329
  • 1
  • 2
  • 9
1

For Unity 2017.2+ with package manager

  • Save all your files
  • Close Unity
  • Make an archive that contains Assets, Packages and ProjectSettings folders

That's it, Have a nice day!

Raphaël Roux
  • 316
  • 2
  • 7