docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GenerateCatalogLocations

    GenerateCatalogLocations(AddressableAssetsBuildContext, AddressablesPlayerBuildResult)

    Generate catalog locations for the schema. Returns a dictionary mapping catalog id to the list of ContentCatalogDataEntry locations that belong to that catalog. Implementations must not write any catalog file; the build script (BuildScriptSchemaDriven) merges entries from all builders by catalog id and writes a single catalog file per id.

    Declaration
    public Dictionary<string, List<ContentCatalogDataEntry>> GenerateCatalogLocations(AddressableAssetsBuildContext aaContext, AddressablesPlayerBuildResult addrResult)
    Parameters
    Type Name Description
    AddressableAssetsBuildContext aaContext

    The Addressable Asset context used to build the schema data.

    AddressablesPlayerBuildResult addrResult

    The Addressables result.

    Returns
    Type Description
    Dictionary<string, List<ContentCatalogDataEntry>>

    A dictionary of catalog id to catalog locations generated by the schema.

    Implements
    ISchemaBuilder.GenerateCatalogLocations(AddressableAssetsBuildContext, AddressablesPlayerBuildResult)
    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)