- Home /
 
Change the default timeout in WWW calls ..?
I've always wondered ..
 var w:WWW = new WWW( fullURL, postData, jsonHeaders );
 yield w;
 
               when you yield to an ordinary old WWW, if the server is really slow there is a timeout time out of I believe about 90 seconds, and then it returns with an error.
(90 seconds was great in prehistory, before 2005 say, but maybe 10 seconds would be more normal today eh!)
Is there a way to adjust this setting, or a work around, or ?
Cheers ...
There doesnt seem to be reading the scripting reference. $$anonymous$$aybe whilst yielding you could start a timer that if it reaches 10 seconds you could break from the coroutine and throw some sort of error. Just a thought
@sub, it looks like you can use WWW.Dispose() so that's great
Your answer
 
             Follow this Question
Related Questions
Troubles with network in development build with Android 0 Answers
How do you add a timeout to the WWW class? 2 Answers
WWW not returning error when no connection in OCULUS GO. 0 Answers
Best way to determine WWW timeout/404/etc.? 2 Answers
UnityWebRequest timing out ? Send() finishes but isDone = false 1 Answer