Asset dependencies
Related terms: dependency graph, asset bundle, shared assets
An asset may need other assets to work: a character uses a mesh, a material uses textures, and an animation controller uses clips. These links form a dependency graph. Loading one asset can pull in a much larger set of data than its own file suggests.
Packaging affects the result. Put a shared texture into several bundles and you may ship or load duplicate copies; put it in a shared bundle and other bundles must load that dependency. Inspect these links when memory or download sizes grow unexpectedly. Systems such as Unity Addressables help manage the graph, but grouping decisions still matter.
- Further reading
- Unity: asset dependencies