# BuildPipeline

> API for building players or AssetBundles.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public class BuildPipeline
```

## Remarks

The BuildPipeline class in the Unity Editor namespace provides essential tools to programmatically [Build Players](/engine/6000.7/script-reference/unityeditor/buildpipeline/buildplayer.md) and [Build AssetBundles](/engine/6000.7/script-reference/unityeditor/buildpipeline/buildassetbundles.md). AssetBundles can be loaded from external sources such as the web, enhancing the flexibility and scalability of content delivery in Unity applications. The class contains several static properties and methods to facilitate building workflows.

Additional Resources: [AssetBundles](/engine/6000.7/manual/assets-and-media/assets-managing-runtime/assetbundles-section/asset-bundles-intro.md), [Build Player Pipeline](/engine/6000.7/manual/building-and-publishing/build-customize-build-pipeline/build-player-pipeline.md)

## Static Properties

| Property                                                                                          | Description                                                           |
| ------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| [isBuildingPlayer](/engine/6000.7/script-reference/unityeditor/buildpipeline/isbuildingplayer.md) | Returns true when Unity is actively building a Player or AssetBundles |

## Static Methods

| Method                                                                                                                          | Description                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [BuildAssetBundles](/engine/6000.7/script-reference/unityeditor/buildpipeline/buildassetbundles.md)                             | Build AssetBundles from a building map.                                                                                                                                                                                                                                                                                                                                              |
| [BuildCanBeAppended](/engine/6000.7/script-reference/unityeditor/buildpipeline/buildcanbeappended.md)                           | Checks if Unity can append the build.                                                                                                                                                                                                                                                                                                                                                |
| [BuildContentDirectory](/engine/6000.7/script-reference/unityeditor/buildpipeline/buildcontentdirectory.md)                     | Builds a content directory (serialized assets and scenes plus a manifest) at a defined output path.                                                                                                                                                                                                                                                                                  |
| [BuildPlayer](/engine/6000.7/script-reference/unityeditor/buildpipeline/buildplayer.md)                                         | Builds a Player. These overloads are still supported, but will be replaced. Please use BuildPlayer([BuildPlayerOptions](/engine/6000.7/script-reference/unityeditor/buildplayeroptions.md) buildPlayerOptions) and BuildPlayer([BuildPlayerWithProfileOptions](/engine/6000.7/script-reference/unityeditor/buildplayerwithprofileoptions.md) buildPlayerWithProfileOptions) instead. |
| [CleanBuildCache](/engine/6000.7/script-reference/unityeditor/buildpipeline/cleanbuildcache.md)                                 | Clears cached unified content-build data so the next build recomputes it.                                                                                                                                                                                                                                                                                                            |
| [GetBuildTargetGroup](/engine/6000.7/script-reference/unityeditor/buildpipeline/getbuildtargetgroup.md)                         | Given a BuildTarget will return the [BuildTargetGroup](/engine/6000.7/script-reference/unityeditor/buildtargetgroup.md) for the build target platform.                                                                                                                                                                                                                               |
| [GetBuildTargetName](/engine/6000.7/script-reference/unityeditor/buildpipeline/getbuildtargetname.md)                           | Given a BuildTarget will return the well known string representation for the build target platform.                                                                                                                                                                                                                                                                                  |
| [GetCRCForAssetBundle](/engine/6000.7/script-reference/unityeditor/buildpipeline/getcrcforassetbundle.md)                       | Extract the CRC checksum for the given AssetBundle.                                                                                                                                                                                                                                                                                                                                  |
| [GetHashForAssetBundle](/engine/6000.7/script-reference/unityeditor/buildpipeline/gethashforassetbundle.md)                     | Extract the hash for the given AssetBundle.                                                                                                                                                                                                                                                                                                                                          |
| [GetPlaybackEngineDirectory](/engine/6000.7/script-reference/unityeditor/buildpipeline/getplaybackenginedirectory.md)           | Returns the path of a player directory. For ex., Editor\Data\PlaybackEngines\AndroidPlayer.                                                                                                                                                                                                                                                                                          |
| [GetPlayerConnectionInitiateMode](/engine/6000.7/script-reference/unityeditor/buildpipeline/getplayerconnectioninitiatemode.md) | Returns the mode currently used by players to initiate a connect to the host.                                                                                                                                                                                                                                                                                                        |
| [IsBuildTargetSupported](/engine/6000.7/script-reference/unityeditor/buildpipeline/isbuildtargetsupported.md)                   | Returns true if the specified build target is currently available in the Editor.                                                                                                                                                                                                                                                                                                     |
