Version: 2021.3
LanguageEnglish
  • C#

BuildPlayerOptions.assetBundleManifestPath

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

public string assetBundleManifestPath;

Description

The path to an manifest file describing all of the asset bundles used in the build (optional).

The manifest file describing all of the asset files used in the build is created by the asset bundle build process. If this value is set, BuildPipeline.BuildPlayer will ensure that any types used in the asset bundles are not stripped during the build process. This may be an absolute path or a path relative to the project directory.