docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UpgradedAssetDatabase

    An asset database that answers old package references from the built-in localization module.

    Inheritance
    object
    LocalizedDatabase<AssetTable, AssetTableEntry>
    LocalizedAssetDatabase
    UpgradedAssetDatabase
    Implements
    IReset
    IPreloadRequired
    Inherited Members
    LocalizedAssetDatabase.GetLocalizedAssetAsync<TObject>(TableEntryReference, Locale, FallbackBehavior)
    LocalizedAssetDatabase.GetLocalizedAsset<TObject>(TableEntryReference, Locale)
    LocalizedAssetDatabase.GetLocalizedAssetAsync<TObject>(TableReference, TableEntryReference, Locale, FallbackBehavior)
    LocalizedAssetDatabase.GetLocalizedAsset<TObject>(TableReference, TableEntryReference, Locale)
    LocalizedDatabase<AssetTable, AssetTableEntry>.PreloadOperation
    LocalizedDatabase<AssetTable, AssetTableEntry>.DefaultTable
    LocalizedDatabase<AssetTable, AssetTableEntry>.TableProvider
    LocalizedDatabase<AssetTable, AssetTableEntry>.TablePostprocessor
    LocalizedDatabase<AssetTable, AssetTableEntry>.UseFallback
    LocalizedDatabase<AssetTable, AssetTableEntry>.AsynchronousBehaviour
    LocalizedDatabase<AssetTable, AssetTableEntry>.GetDefaultTableAsync()
    LocalizedDatabase<AssetTable, AssetTableEntry>.GetTableAsync(TableReference, Locale)
    LocalizedDatabase<AssetTable, AssetTableEntry>.GetTable(TableReference, Locale)
    LocalizedDatabase<AssetTable, AssetTableEntry>.PreloadTables(TableReference, Locale)
    LocalizedDatabase<AssetTable, AssetTableEntry>.PreloadTables(IList<TableReference>, Locale)
    LocalizedDatabase<AssetTable, AssetTableEntry>.ReleaseAllTables(Locale)
    LocalizedDatabase<AssetTable, AssetTableEntry>.ReleaseTable(TableReference, Locale)
    LocalizedDatabase<AssetTable, AssetTableEntry>.GetAllTables(Locale)
    LocalizedDatabase<AssetTable, AssetTableEntry>.IsTableLoaded(TableReference, Locale)
    LocalizedDatabase<AssetTable, AssetTableEntry>.GetTableEntryAsync(TableReference, TableEntryReference, Locale, FallbackBehavior)
    LocalizedDatabase<AssetTable, AssetTableEntry>.GetTableEntry(TableReference, TableEntryReference, Locale, FallbackBehavior)
    LocalizedDatabase<AssetTable, AssetTableEntry>.OnLocaleChanged(Locale)
    LocalizedDatabase<AssetTable, AssetTableEntry>.ResetState()
    Namespace: UnityEngine.Localization.Upgrade
    Assembly: Unity.Localization.dll
    Syntax
    [Serializable]
    public class UpgradedAssetDatabase : LocalizedAssetDatabase, IReset, IPreloadRequired
    Remarks

    The upgrade wizard installs this in place of LocalizedAssetDatabase so scripts written against the package API keep working after the project's tables move to the module. Asset lookups are translated through the LocalizationUpgradeMap; a reference to a collection the upgrade did not convert resolves to nothing with a warning, because the package pipeline would start Addressables operations against content the upgrade may have deleted.

    Properties

    Name Description
    UpgradeMap

    The map the wizard produced, used to translate old references to module collections.

    Methods

    Name Description
    GetLocalizedAssetAsyncInternal<TObject>(TableReference, TableEntryReference, Locale, FallbackBehavior)

    Implementation for all versions of GetLocalizedAssetAsync<TObject>(TableEntryReference, Locale, FallbackBehavior).

    GetTableAsync(TableReference, Locale)

    Returns the named table. This method is asynchronous and may not have an immediate result. Check IsDone to see if the data is available, if it is false then you can use the Completed event to get a callback when it is finished, yield on the operation or call WaitForCompletion to force the operation to complete.

    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)