docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BinaryDataProvider

    Provides raw text from a local or remote URL.

    Inheritance
    object
    ResourceProviderBase
    BinaryDataProvider
    Implements
    IResourceProvider
    IInitializableObject
    Inherited Members
    ResourceProviderBase.m_ProviderId
    ResourceProviderBase.m_BehaviourFlags
    ResourceProviderBase.ProviderId
    ResourceProviderBase.Initialize(string, string)
    ResourceProviderBase.CanProvide(Type, IResourceLocation)
    ResourceProviderBase.ToString()
    ResourceProviderBase.Release(IResourceLocation, object)
    ResourceProviderBase.GetDefaultType(IResourceLocation)
    ResourceProviderBase.InitializeAsync(ResourceManager, string, string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    Assembly: Unity.ResourceManager.dll
    Syntax
    public class BinaryDataProvider : ResourceProviderBase, IResourceProvider, IInitializableObject

    Properties

    Name Description
    IgnoreFailures

    Controls whether errors are logged - this is disabled when trying to load from the local cache since failures are expected

    Methods

    Name Description
    Convert(Type, byte[])

    Method to convert the text into the object type requested. Usually the text contains a JSON formatted serialized object.

    Provide(ProvideHandle)

    Provides raw binary data from the location.

    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)