AddressableExceptionHandler Class

public abstract class AddressableExceptionHandler : MonoBehaviour

This class can be used to provide the Addressable Streamer you are using with a custom method for exception handling. If you do not provide this class, and Log Runtime Exceptions is enabled in your Addressable Settings, the streamers will only log Invalid Key Exceptions. Usually you will not need to provide a custom exception handler, however the option is there if you want it.

Methods

HandleException(AsyncOperationHandle, Exception)

public abstract void HandleException(AsyncOperationHandle handle, Exception exception)

Override to provide custom exception handling for failed async operations using one of the addressable chunk streamers

Parameters

Name Type Description
handle AsyncOperationHandle

The handle for the async operation that failed.

exception Exception

The exception that was thrown during the failed load op.