# AssetBundleBuild

> AssetBundle building map entry.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public struct AssetBundleBuild
```

## Remarks

This structure is used with [BuildPipeline.BuildAssetBundles](/engine/6000.0/script-reference/unityeditor/buildpipeline/buildassetbundles.md) to specify the name of a bundle and the names of the assets that it will contain. The array of AssetBundleBuild elements that is passed to the function is known as the "building map" and serves as an alternative to specifying the contents of bundles from the editor.

Additional Resources: [BuildPipeline.BuildAssetBundles](/engine/6000.0/script-reference/unityeditor/buildpipeline/buildassetbundles.md).

## Fields

| Value                                                                                                    | Description                                        |
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [addressableNames](/engine/6000.0/script-reference/unityeditor/assetbundlebuild/addressablenames.md)     | Addressable name used to load an asset.            |
| [assetBundleName](/engine/6000.0/script-reference/unityeditor/assetbundlebuild/assetbundlename.md)       | AssetBundle name.                                  |
| [assetBundleVariant](/engine/6000.0/script-reference/unityeditor/assetbundlebuild/assetbundlevariant.md) | AssetBundle variant.                               |
| [assetNames](/engine/6000.0/script-reference/unityeditor/assetbundlebuild/assetnames.md)                 | Asset names which belong to the given AssetBundle. |
