Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Obsolete
This has been made obsolete. It is always enabled in the new AssetBundle build system introduced in 5.0.

BuildAssetBundleOptions.CollectDependencies

Switch to Manual

Description

Includes all dependencies.

This follows all references to any assets, game objects or components and includes them in the build.

See Also: BuildPipeline.BuildAssetBundle.