Unity Web Request fails after exporting
Hey everyone,
I'm using UnityWebRequest in order to make a request on my android app. This works perfectly on the editor and I get the correct response code in a blink of an eye.
But after I export the app to Gradle, the web request fails. The cause of failure is "connection timeout".
The weird thing is sometimes it works flawlessly after exporting, but most times it timeouts. I know that this is a network issue. But why is it working 100 percent of times in the editor, and it works like 5 percent of the time after exporting.
I also have internet set to required in the player settings.
Your answer
Follow this Question
Related Questions
HTTPWebRequest.GetResponce not working on Android 0 Answers
data property of DownloadHandlerAudioClip always returns null 0 Answers
UnityWebRequest only does one request at a time 0 Answers
UnityWebRequest with "text/event-stream" header doesn't work in webgl build 1 Answer
Отправляемый файл приходит на сервер поврежденный (Uploaded file is damaged) 0 Answers