Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

AsyncReadManager

class in Unity.IO.LowLevel.Unsafe

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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.

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.