Version: 2020.3
  • C#


class in UnityEditor

Suggest a change


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.


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.




Lets you programmatically build players or AssetBundles which can be loaded from the web.

Static Properties

isBuildingPlayerIs a player currently being built?

Static Methods

BuildAssetBundleBuilds an asset bundle.
BuildAssetBundleExplicitAssetNamesBuilds an asset bundle, with custom names for the assets.
BuildAssetBundlesBuild all AssetBundles specified in the editor.
BuildCanBeAppendedChecks if Unity can append the build.
BuildPlayerBuilds a player.
GetBuildTargetNameGiven a BuildTarget will return the well known string representation for the build target platform.
GetCRCForAssetBundleExtract the crc checksum for the given AssetBundle.
GetHashForAssetBundleExtract the hash for the given AssetBundle.
GetPlaybackEngineDirectoryReturns the path of a player directory. For ex., Editor\Data\PlaybackEngines\AndroidPlayer.In some cases the player directory path can be affected by BuildOptions.Development.
GetPlayerConnectionInitiateModeReturns the mode currently used by players to initiate a connect to the host.
IsBuildTargetSupportedReturns true if the specified build target is currently available in the Editor.
WriteBootConfigWrites out a "boot.config" file that contains configuration information for the very early stages of engine startup.