Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AsyncReadManager

With the AsyncReadManager, you can perform asynchronous I/O operations through Unity's virtual file system. You can perform these operations on any thread or job.
Read time 1 minuteLast updated 12 days ago

Definition

public static class AsyncReadManager

Remarks

Note: On Windows and Xbox platforms,
AsyncReadManager
uses DirectStorage API for optimized file I/O operations when enabled in the Player settings > Other Settings > Configuration > Enable DirectStorage. For more information, refer to the documentation on Optimize performance using DirectStorage.

Static Methods

Method

Description

CloseCachedFileAsyncCloses a file held open internally by the AsyncReadManager.
GetFileInfoGets information about a file.
OpenFileAsyncOpens the file asynchronously.
ReadIssues an asynchronous file read operation. Returns a ReadHandle.
ReadDeferredQueues a set of read operations for a file once the specified Jobs have completed.