Version: 2022.3
LanguageEnglish
  • C#
Method group is Obsolete

BuildAssetBundleOptions.CompleteAssets

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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

Description

Forces inclusion of the entire asset.

For example if you pass a Mesh into the BuildPipeline.BuildAssetBundle function and use CompleteAssets it would also include the game object and any animation clips in the same asset.

This flag is only taken into account when calling the obsolete BuildPipeline.BuildAssetBundle method. When calling BuildPipeline.BuildAssetBundles this behaviour is always disabled.