Documentation

Unity Engine

Unity Engine

CollectDependencies

Includes all dependencies.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
Deprecated. This has been made obsolete. It is always enabled in the new AssetBundle build system introduced in 5.0.
CollectDependencies = 2

Remarks

This follows all references to any assets, game objects or components and includes them in the build.
This flag is only taken into account when calling the obsolete BuildPipeline.BuildAssetBundle method. When calling BuildPipeline.BuildAssetBundles this flag is ignored because references are always followed.