docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BuildLayout

    A storage class used to gather data about an Addressable build.

    Inheritance
    object
    BuildLayout
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.AddressableAssets.Build.Layout
    Assembly: Unity.Addressables.Editor.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

    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

    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)