Interface 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.
Namespace: UnityEngine.ResourceManagement.ResourceProviders
Assembly: Unity.ResourceManager.dll
Syntax
public interface IAssetBundleResource
Methods
Name | Description |
---|---|
GetAssetBundle() | Retrieves the asset bundle. |