You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, the project happens to have this requirement, when can support the Android platform, very urgent need, but the Android platform can not directly use File Directory API, the work is not normal.
The text was updated successfully, but these errors were encountered:
I believe Android can use File API to load files in Application.persistentdatapath.
So the idea is, store your file in Application.streamingAssets, at the first App start, load all files in Application.streamingAssets using UnityWebRequrest and write all bytes to Application.persistentdatapath using File API.
After all those thing done, manual start the http server set the root path to Application.persistentdatapath, maybe should work.
Recently, the project happens to have this requirement, when can support the Android platform, very urgent need, but the Android platform can not directly use File Directory API, the work is not normal.
The text was updated successfully, but these errors were encountered: