docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AddressableAssetBuildResult

    Contains information about the status of the build.

    Inheritance
    object
    AddressableAssetBuildResult
    AddressablesPlayModeBuildResult
    AddressablesPlayerBuildResult
    Implements
    IDataBuilderResult
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Build
    Assembly: solution.dll
    Syntax
    public class AddressableAssetBuildResult : IDataBuilderResult

    Properties

    Name Description
    Duration

    Duration of build, in seconds.

    Error

    Error that caused the build to fail.

    FileRegistry

    Registry of files created during the build

    LocationCount

    The number of addressable assets contained in the build.

    OutputPath

    Path of runtime settings file

    Methods

    Name Description
    CreateResult<TResult>()

    Helper method to create the desired result of a data builder. This should always be used to create the build result with additional details added as needed. The Result.Duration should always be set at the end of the build script in the non-error scenario. Other results should be set as available.

    CreateResult<TResult>(string, int, string)

    Helper method to create the desired result of a data builder. This should always be used to create the build result with additional details added as needed. The Result.Duration should always be set at the end of the build script in the non-error scenario.

    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)