

If two different Objects are assigned to two different AssetBundles, but both have references to a common dependency Object, then that dependency Object will be copied into both AssetBundles. An Object is “explicitly assigned” when that Object’s AssetImporter has its assetBundleName property set to a non-empty string.Īny Object that is not explicitly assigned in an AssetBundle will be included in all AssetBundles that contain 1 or more Objects that reference the untagged Object. Objects that are explicitly assigned to an AssetBundle will only be built into that AssetBundle. More info See in Glossary information is used to determine the set of Objects that will be included in an AssetBundle. For projects, these are considered direct dependencies for packages, these are indirect, or transitive, dependencies. Projects and packages use the dependencies attribute in their manifests to define the set of packages they require. This dependency In the context of the Package Manager, a dependency is a specific package version (expressed in the form that a project or another package requires in order to work. Unity 5’s AssetBundle system will discover all dependencies of an Object when the Object is built into an AssetBundle. This section describes several problems that commonly appear in projects using AssetBundles.
