docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ContentDirectorySchemaBuilder

    The builder used for Addressable Groups which have the Content Directory schema.

    Inheritance
    object
    ContentDirectorySchemaBuilder
    Implements
    ISchemaBuilder
    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.DataBuilders.SchemaBuilders
    Assembly: Unity.Addressables.Editor.dll
    Syntax
    public class ContentDirectorySchemaBuilder : ISchemaBuilder

    Properties

    Name Description
    Name

    Schema builder name

    Methods

    Name Description
    Build(AddressableAssetsBuildContext, AddressablesPlayerBuildResult)

    Builds content directories for the specified catalogs and processes the associated assets.

    CanBuildSchema(AddressableAssetGroupSchema)

    Determines whether the specified schema can be built as a ContentDirectoryGroupSchema.

    GenerateCatalogLocations(AddressableAssetsBuildContext, AddressablesPlayerBuildResult)

    Generates catalog locations for each distinct catalog id collected from content-directory group schemas. Returns a dictionary mapping catalog id to the list of ContentCatalogDataEntry locations; the build script writes the actual catalog files.

    GenerateContentUpdate(AddressableAssetsBuildContext, AddressablesPlayerBuildResult)

    Generates a content update for Addressable assets based on the provided context.

    GenerateTypeStrippingInfo(AddressableAssetsBuildContext, ContentCatalogData)

    Relocates the metadata hash file to a known location for player build type stripping purposes

    Init(AddressableAssetsBuildContext, AddressablesDataBuilderInput, BuildContext, IDataBuilder)

    Initializes the build context and prepares internal data structures for processing.

    ProcessGroupSchema(AddressableAssetsBuildContext, AddressableAssetGroupSchema)

    Processes the specified group schema.

    In This Article
    Back to top
    Copyright © 2026 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)