- Home /
UnityWebRequest not working junt in Android with unity 2018.3.x
I'm having this weird problem...
I have a game that uses UnityWebRequest to make some GET requests, and it works fine on unity editor and when compiled to ios.
But just on Android devices, this same requests doesn't work with unity version 2018.3, just switch plataform and compile to ios and android, without change code and without platform dependent compilation (#if) on code
Already tested all 2018.3.x subversions.
I always get this enlightening exception: "unknown error", sometimes too: "cannot resolve destination host"
it worked fine on Android till 2018.2.21, just stopping work when upgrade.
Does anyone knows if something changed to android on 2018.3.x?
Things I already tried/tested to solve without success:
Set/unset development build
Test on many different android devices: get same error
Set internet access to require
Set minimum API to 4.1, 5.0, 8.0, 9.0...
Set target API to 5.0, 8.0, 9.0...
Set scripting runtime to .NET 4.0
Answer by carldevelopsforcoffee · Oct 27, 2020 at 08:41 AM
I still have this issue on Unity 2019.4.2f1, didn't have it as much on Unity 2018
Your answer
Follow this Question
Related Questions
How to get Android 10 (API Level 29) 1 Answer
HTTP Requests removed on Android Pie (API 28+) 2 Answers
Can't find and access (used persistentDataPath) saved file after building the game on Android? 1 Answer
"CommandInvokationFailure: Gradle build failed" when building to Android 1 Answer
How can I debug an Android game that crashes at launch (after Unity logo)? 1 Answer