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
On Android platform, streamingAssets is place inside APK file.
Like this: "jar:file://" + Application.dataPath + "!/assets".
The recommend way to load those assets by Unity is to use UnityWebRequest to send a request to download a file.
I try to replace the UnityWebRequest directly by using the Best/Https's HTTPRequest, but seems HTTPRequest is not support the scheme "jar:file://" and return errors.
The text was updated successfully, but these errors were encountered:
Just trying to port an app using Best HTTP for all loading to Android. We use "SteamingAssets" for user-readable level files and it's failing complaining:
BestHTTP.AsyncHTTPException
System.ArgumentOutOfRangeException
Specified argument was out of the range of valid values.
Parameter name: port
Could a viable workaround start with special-casing URLs starting "jar:file:" on Android platform? (perhaps to use Unity's WebRequest for now?)
On Android platform, streamingAssets is place inside APK file.
Like this:
"jar:file://" + Application.dataPath + "!/assets".
The recommend way to load those assets by Unity is to use UnityWebRequest to send a request to download a file.
I try to replace the UnityWebRequest directly by using the Best/Https's HTTPRequest, but seems HTTPRequest is not support the scheme
"jar:file://"
and return errors.The text was updated successfully, but these errors were encountered: