- Home /
The question is answered, right answer was accepted
Unity3d www.progress not working in iOS
I am posting values to webservice and getting response from the same webservice and i am using WWWForm
in Unity3d. Now i want to wait till the response not completely load . For that i have use yield www; but it's not working properly. After that i found www.progress
and it's working in my Unity3d player but it not working in iPhone or iPad. So can anybody please help me to come out from this problem?
EDIT1: I am using javascript.
Thanks in advance !!!
Answer by yashesh · Mar 25, 2013 at 07:26 AM
Finally i got the solution for that:
I have used yield StartCoroutine("getSettingsValues");
and it solves my problem.
Answer by Dreamora · Mar 25, 2013 at 06:45 AM
Out of my experience WWW.progress works perfectly fine assuming the webservice gives a proper answer that includes the filesize in the http header as expected and assuming naturally that you implement your code correctly using
while (!isDone) {
progress = www.Progress;
yield return null;
}
i am using Javascript so above code will not work for me.
Follow this Question
Related Questions
resolutions 1 Answer
Initiating a rich prefab runtime 0 Answers
About iPhone/iPad development 1 Answer
does the iPad have a max FPS 2 Answers
translating a touchDeltaPosition from the y axis to z axis 1 Answer