Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


assetBundleManifestPath

The path to a manifest file describing all the AssetBundles used in the build (optional).
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public string assetBundleManifestPath { readonly get; set; }

Remarks

When you call BuildPipeline.BuildAssetBundles to create your AssetBundles, Unity will also generate a .manifest file with a file name matching the parent directory. You can assign the path to this manifest file to
assetBundleManifestPath
to ensure that a player build doesn't strip any types used in your AssetBundles.
You don't need to set this property when using
link.xml
files, or when generating AssetBundles using the Addressables package.
For more information about code stripping, refer to Managed code stripping.