docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ConstructAssetBundleName

    ConstructAssetBundleName(AddressableAssetGroup, BundledAssetGroupSchema, BundleDetails, string)

    Routes bundle naming to ConstructAssetBundleName(AddressableAssetGroup, BundledAssetGroupSchema, BundleDetails, string) so overrides on the packed script run from ConstructOutputName(AddressableAssetGroup, AddressableAssetGroupSchema, BundleDetails, string) during the build.

    Declaration
    protected override string ConstructAssetBundleName(AddressableAssetGroup assetGroup, BundledAssetGroupSchema schema, BundleDetails info, string assetBundleName)
    Parameters
    Type Name Description
    AddressableAssetGroup assetGroup

    Group being built, if any.

    BundledAssetGroupSchema schema

    Bundled asset schema controlling naming.

    BundleDetails info

    Bundle details including hash.

    string assetBundleName

    Base bundle name before group prefix and hashing.

    Returns
    Type Description
    string

    Final bundle name for the build output.

    Overrides
    BuildScriptSchemaDriven.ConstructAssetBundleName(AddressableAssetGroup, BundledAssetGroupSchema, BundleDetails, string)
    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)