docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2025 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)