Namespace UnityEngine.ResourceManagement.ResourceProviders
Classes
AssetBundleProvider
IResourceProvider for asset bundles. Loads bundles via UnityWebRequestAssetBundle API if the internalId starts with "http". If not, it will load the bundle via AssetBundle.LoadFromFileAsync.
WARNING: Direct bundle loading using this provider is NOT RECOMMENDED for most applications. Use Addressables.LoadAssetAsync<T>() to load individual assets instead, which provides automatic dependency resolution and better error handling.
This provider is for advanced scenarios only where manual bundle management is required.
AssetBundleRequestOptions
Contains cache information to be used by the AssetBundleProvider
AssetBundleResource
Provides methods for loading an AssetBundle from a local or remote location.
AssetDatabaseProvider
Provides assets loaded via the AssetDatabase API. This provider is only available in the editor and is used for fast iteration or to simulate asset bundles when in play mode.
AtlasSpriteProvider
Provides sprites from atlases
BinaryCatalogInitialization
Object used to specify custom values for the cache sizes used in Binary Catalogs.
BinaryDataProvider
Provides raw text from a local or remote URL.
BundledAssetProvider
Provides assets stored in an asset bundle.
CachedFileProvider
Downloads remote files to a local cache and returns the path. This path can be used to load the data with other providers such as BinaryDataProvider.
ContentDirectoryAssetData
Data stored in ContentCatalogDataEntry.Data for asset entries in Content Directories.
ContentDirectoryMountManager
Mounts Content Directories on demand and shares a single mount across every asset and scene that loads from the same load path. Replaces the previous design where a dedicated ContentDirectoryProvider loaded the directory as a shared dependency.
A directory is mounted at most once (the first EnsureMounted(string) for a resolved
path calls ContentLoadManager.RegisterContentDirectory) and then stays mounted for
the lifetime of the Addressables system. All mounts are released together by
UnmountAll(), which is called from AddressablesImpl.Dispose. All access
is expected on the main thread.
InstanceProvider
Basic implementation of IInstanceProvider.
JsonAssetProvider
Converts JSON serialized text into the requested object.
ProviderLoadRequestOptions
Contains options used in Resource Provider load requests. ProviderLoadRequestOptions are used to specify parameters such as whether or not to ignore load failures and UnityWebRequest timeouts.
ProviderLoadRequestOptions.SerializationAdatapter
Provides serialization and deserialization support for ProviderLoadRequestOptions objects using the BinaryStorageBuffer format.
ResourceLocationUtil
Utility class for working with resource locations in the Resource Manager.
ResourceProviderBase
Base class for IResourceProvider.
TextDataProvider
Provides raw text from a local or remote URL.
Structs
InstantiationParameters
Class that contains properties to apply to instantiated objects.
ProvideHandle
Container for all data need by providers to fulfill requests.
SceneInstance
Wrapper for scenes. This is used to allow access to the AsyncOperation and delayed activation.
Interfaces
IAddressableRootAsset
Implemented by the global root asset embedded in a Content Directory. Exposes the scene id lookup needed by SceneProvider without depending on the concrete root asset type (which lives in the higher-level Addressables assembly).
IAssetBundleResource
Wrapper for asset bundles.
WARNING: Loading bundles directly using LoadAssetAsync<IAssetBundleResource>() is NOT RECOMMENDED for most use cases as it bypasses automatic dependency resolution and can cause serialization issues with ScriptableObjects.
RECOMMENDED: Use LoadAssetAsync<T>() to load individual assets instead, which provides automatic dependency handling and better error resilience.
IInstanceProvider
Interface that provides instances of objects. This is used in ResourceManager.Instantiate* calls.
IResourceProvider
Resoure Providers handle loading (Provide) and unloading (Release) of objects
ISceneProvider
Interface for scene providers.
Enums
AssetLoadMode
Used to indication how Assets are loaded from the AssetBundle on the first load request.
ProviderBehaviourFlags
Options for resource provider behavior.
SceneReleaseMode
How to release the Addressable scene