Follow

Export Package exports everything

Symptoms
  • When I export a package using Assets -> Export package, it exports everything.
Cause
 
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.
 
Resolution

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?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.