1. Home
  2. Knowledge Base
  3. Unity
  4. Export Package Exports Everything (Unity)

Export Package Exports Everything  (Unity)

  • 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.


Was this article helpful?

Related Articles