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 |
---|---|
Addressables |
Settings used by the Addressables settings at the time of building |
Addressables |
Values used by the Addressables runtime |
Build |
Null or Empty if the build completed successfully, else contains error causing the failure |
Build |
Hash of the build results |
Build |
Name of the build script to build |
Build |
Build Platform Addressables build is targeting |
Build |
If the build was a new build or an update for a previous build |
Built |
The List of AssetBundles that were built without a group associated to them, such as the BuiltIn Shaders Bundle and the MonoScript Bundle |
Default |
Default group at the time of building |
Duplicated |
List of assets with implicitly included Objects |
Duration | Time in seconds taken to build Addressables Content |
Groups | The Addressable Groups that reference this data |
Local |
The build path on disk of the default local content catalog |
Package |
Version of the Addressables package used to perform the build. |
Player |
Player build version for the build, this is a timestamp if PlayerVersionOverride is not set in the settings |
Remote |
The build path of the remote content catalog, if one was built |
Unity |
Version of the Unity edtior used to perform the build. |
Properties
Name | Description |
---|---|
Build |
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) | |
Read |
Reads the full build layout data from file |
Read |
Reads basic information about the build layout |
Write |
Writes json file for the build layout to the destination path |