I test the AsyncReadManager API on Android platform and hoping it could be better to support read from the StreamingAssets. But it seems can not read from it. Is there any solution except to copy the file out?
I’m pretty sure that on Android the StreamingAssets is sort of this weird web-served bag of bytes that you can only access via UnityWebRequest and the URL.
I remember this from trying to use SQLite to read a database file I had in StreamingAssets: in the end we HAD to copy the entire file out at bootup and store it in local persistent storage, then tell the database to go use that file.
Yes, but the AssetBundle.LoadFromFile is actually supporting the StreamingAssets on Andoird.
If the AsyncReadManager is the underlayer API for AssetBUndle, I hope there is some way I can read the part of the file into a NativeArray.