Follow

How can I load Assets asynchronously from AssetBundles stored in disk?

Symptoms 

  • The asset content of AssetBundles is loading from the disk in a synchronous manner. 

Cause

The main thread is blocked while loading the assets. This can make the game have hiccups. 

Resolution

To load the objects of the AssetBundles in an asynchronous way, in order to avoid blocking the main thread of the computer, you need to call the AssetBundle.LoadAssetAsync method.

To learn more about this, please see the sub-section about loading objects from an AssetBundles asynchronously in Unity's Loading AssetBundles documentation page.

More Information
http://docs.unity3d.com/Manual/AssetBundlesIntro.html
This article applies to Unity version 5.3

 

Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.