Answer the question
In order to leave comments, you need to log in
How to assign timeout to UnityWebRequest?
The help has a timeout field for UnityWebRequest ( https://docs.unity3d.com/ScriptReference/Networkin... ) but I can't get it in the code. What needs to be done to appoint him? And if it is impossible to assign, then how long does the connection initially hold depending on the platform (interested in webgl, ios, android)?
Answer the question
In order to leave comments, you need to log in
Just take and assign:
var request = new UnityWebRequest();
request.timeout = 10;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question