AssetBundleManager: Android cannot load Asset Bundle from Streaming Assets properly

Issue #78 closed
CS created an issue

Since android build will pack streaming Assets into compressed .jar file. It will make loading asset bundle failed when calling WWW.LoadFromCacheOrDownload API directly. From what I understand, it needs to call AssetBundle.LoadFromFile to make it works. Internally it will still call WWW.LoadFromCacheOrDownload API to load the jar file then only load the asset bundle. Although it's possible to extract jar file to Android local file system but it's not practical for testing when the asset bundle file size is very large. Another side note, maybe it's time to support better UnityWebRequest API to replace old WWW API.

Comments (3)

  1. Log in to comment