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 to ensure that a player build doesn't strip any types used in your AssetBundles.
assetBundleManifestPathYou don't need to set this property when using files, or when generating AssetBundles using the Addressables package.
link.xmlFor more information about code stripping, refer to Managed code stripping.