Export Package exports everything

  • When I export a package using Assets -> Export package, it exports everything.
When exporting packages that include scripts, it includes all scripts that are in the project. This happens because there is no way to track dependencies between scripts. If you include dependencies and one of the dependencies is a script, then you need all scripts.

You can use the function AssetDatabase.ExportPackage and multiple ExportPackageOptions. Please be aware that this workaround could cause some errors with missing scripts. Assets -> Export package is the suggested and secure option.

More Information
Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request


  • 0

    This has been broken for almost four years now, so might I suggest something, that might sound a bit RADICAL to the Unity Team: Put down you coffee for five minutes, and FIX this issue. Yes, I know it sounds shocking, actually FIXING an issue, but, isn't that what you are paid for???

    Edited by Gyltefors
Please sign in to leave a comment.