AssetBundle.LoadFromFileAsync is blocking main thread.

It seems like AssetBundle.LoadFromFileAsync is blocking main thread.

I am trying to load about 120mb assets bundle and it seems to block the main thread for like 2-3 seconds until the bundle has been loaded. (even in the build, not in editor)

var assetRandomBundle = AssetBundle.LoadFromFileAsync(assetRandomPath);

while (!assetRandomBundle.isDone)
{
Debug.Log(assetRandomBundle.progress);
yield return null;
}

This outputs like 1 progress log output and it is 0

It is supposed to be async… so it should output some progress? Main thread blocking behavior really seems to be big problem for me.

Bundle is created using chunk compression.

Anyone has any idea? Is this bug? :frowning:

Yeah, I have the same problem, it pretty much doesn’t make a difference if I use LoadFromFileAsync or LoadAsset. My guess was that I am doing something wrong … I am on OS X, what platform are you testing?

I am testing it on Windows and Xboxone.