Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

[5.3.1p1] WWW.isDone hangs in iOS

$
0
0
It seems that WWW.isDone broke in 5.3.1. This used to work fine in 5.2

This code hangs in iOS:

Code (csharp):
  1.  
  2. private IEnumerator DownloadFile( string url )
  3. {
  4.     var www = new WWW( url );
  5.  
  6.     while ( !www.isDone )
  7.     {
  8.         Debug.Log( "Never gets here" );
  9.         yield return null;
  10.     }
  11. }
  12.  
When running on iOS, the call to www.isDone doesn't return. If I pause the game in XCode, and resume execution.. then it works fine.

Doing the usual yield...

[5.3.1p1] WWW.isDone hangs in iOS

Viewing all articles
Browse latest Browse all 10823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>