- Home /
WWW/ yield calls throwing errors on iPad
I'm getting some errors when using WWW and yield while testing Unity on the iPad. My application works fine in Unity but when I move it to the iPad, it just stalls when it gets to my WWW call. If I remove the yield statement I get this warning:
WWW is not ready downloading yet at UnityEngine.WWW.get_text ()
But the application doesn't stall. Although the data I'm trying to retrieve isn't obtained either.
I'm using javascript so shouldn't need to use the StartCoroutine() call but have tried that anyway. Can anyone give me some advice on why this works in Unity but not on the iPad?
Answer by unity200 · Feb 13, 2012 at 03:49 AM
Ok I fixed the problem. My script had a try catch in it which works fine with Unity but throws an error in Xcode. Worked around it by making the try catch obsolete.
Your answer
Follow this Question
Related Questions
Why does nothing happen after yield return www 0 Answers
Wait for file download 1 Answer
Flag to tell if image has loaded from WWW? 1 Answer
how to download pdf/image file in unity web player? 1 Answer
Another yield and www question 2 Answers