This version of Unity is unsupported.
Method group is Obsolete

BuildAssetBundleOptions.CollectDependencies

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

Description

Includes all dependencies.

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.