Class BuildLayout
A storage class used to gather data about an Addressable build.
Inherited Members
Namespace: UnityEditor.AddressableAssets.Build.Layout
Assembly: solution.dll
Syntax
[Serializable]
public class BuildLayout
Fields
| Name | Description |
|---|---|
| AddressablesEditorSettings | Settings used by the Addressables settings at the time of building |
| AddressablesRuntimeSettings | Values used by the Addressables runtime |
| BuildError | Null or Empty if the build completed successfully, else contains error causing the failure |
| BuildResultHash | Hash of the build results |
| BuildScript | Name of the build script to build |
| BuildTarget | Build Platform Addressables build is targeting |
| BuildType | If the build was a new build or an update for a previous build |
| BuiltInBundles | The List of AssetBundles that were built without a group associated to them, such as the BuiltIn Shaders Bundle and the MonoScript Bundle |
| DefaultGroup | Default group at the time of building |
| DuplicatedAssets | List of assets with implicitly included Objects |
| Duration | Time in seconds taken to build Addressables Content |
| Groups | The Addressable Groups that reference this data |
| LocalCatalogBuildPath | The build path on disk of the default local content catalog |
| PackageVersion | Version of the Addressables package used to perform the build. |
| PlayerBuildVersion | Player build version for the build, this is a timestamp if PlayerVersionOverride is not set in the settings |
| RemoteCatalogBuildPath | The build path of the remote content catalog, if one was built |
| UnityVersion | Version of the Unity edtior used to perform the build. |
Properties
| Name | Description |
|---|---|
| BuildStart | DateTime at the start of building Addressables |
| Header | Helper object to get header values for this build layout |
Methods
| Name | Description |
|---|---|
| Close() | Closes streams for loading the build layout |
| Open(string, bool, bool) | |
| ReadFull() | Reads the full build layout data from file |
| ReadHeader(bool) | Reads basic information about the build layout |
| WriteToFile(string, bool) | Writes json file for the build layout to the destination path |