Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Nanako · Nov 18, 2014 at 02:19 PM · assetsexportfilesize

Is there any way to save/export a unity project with only the needed assets?

Hi all. My project is in its infancy, but it's over 700 MB, mostly from various sample assets and add-ons, there's very little content.

I'd like to keep those things for possible use later, but i'd also like to send the project files to a team member, and that's a bit too much for my poor little connecction.

Is there any way to create an export of the project which only contains assets that are used? eg, that exist in the heirarchy of a scene somewhere.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MrSoad · Nov 18, 2014 at 02:32 PM 0
Share

I'm not great at this but have you tried right clicking on the Scene file in the project window and selecting Export Package. This should hopefully get everything for that scene, leaving the rest out(apart from scripts).

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by RandomCharacters · Dec 07, 2014 at 05:41 PM

yeah, select the scene and export it. the assests will go with it.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by troien · Nov 18, 2014 at 03:19 PM

Like @MrSoad said, Export Package.

You get get here aswell using Assets --> Export Package.

This opens a window in which you can select what you want to include and what not.

Note that when you have anything selected in the project view when you open the window, only the things that are (or could be) needed by the thing you selected can be exported. Just like when you would 'rightclick --> Export Package' in the Project Window (In case of scripts, Unity can't know for sure whether a script is required or not because you can for instance add a Component using a string, so if one script shows up in the list, they all do ;)

See also: http://docs.unity3d.com/Manual/HOWTO-exportpackage.html

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Nanako · Nov 18, 2014 at 03:42 PM 0
Share

well that's pretty neat, although EVERYTHING is checked by default.

This will still be useful, but is there any way to have it autodetect only what i really need? I'd be willing to pay for an editor extension from the asset store to accomplish that. this is an operation i'll probably be doing a LOT

avatar image troien · Nov 18, 2014 at 06:34 PM 2
Share

Well,

If you select a scene or a prefab in the project folder, and then go to 'Assets --> Export Package'

or when you right-click a scene or a prefab in the project folder and go to 'Export Package'

Then automatically only the things that the selected prefab/Scene needs are selected. (This still works if you select multiple scenes/prefabs etc. in the project folder)

However, if any of the selected things use scripts, then all scripts are selected, and you'll need to manually select which scripts you want and which script you don't want.

Whether there are editor extensions for this in the asset store is something I don't know.

avatar image Nanako · Dec 05, 2014 at 09:37 PM 0
Share

I'm finding a need to do this now, and this does not work!!!

Selecting my scene and opening the export dialog still has everything selected

avatar image troien · Dec 07, 2014 at 05:47 PM 1
Share

It does wen I try it...

If I create a new scene, select it and go to export package, then only that scene will popup in the list, no assets (Sinse that new scene doesn't reference any assets yet).

If I then add a prefab to the scene (That doesn't use scipts), (save my scene) and then select my scene again and go to export package. Then Only the scene, that asset, and anything that asset requires (like materials, etc.) are selected.

$$anonymous$$aybe selectable is a better word then 'selected' though. Sinse things that are not used in the scene won't even pop up in the list and aren't even selectable. So though everything in the list is selected, not everything in your assetfolder is in the list, thus not everything is selected.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

29 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Exporting assets from Unity 5 to Unity 4 1 Answer

Unity 2018.1.1f1 build error,Build error Unity 2018.1.1f1 0 Answers

Importing meshes with materials or assigning in unity 1 Answer

Editor crash on all scenes and projects 1 Answer

Asset Export from Unity3d Version 4 into 3.5 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges