docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GenerateCatalogLocations

    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.

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

    The build context containing information about the Addressables assets and providers.

    AddressablesPlayerBuildResult addrResult

    The result of the Addressables player build, including content directory build results.

    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)