WWW weird behavur problem in android
Hi, I am dealing with a very strange problem. I am updating my code from 5.6 to unity 8. I have a part that uses the WWW to read a file from a server. The code structure for that is below. My problem is that while the code works fine to version 5.6 in pc and android when I run it from unity 8 it works fine is PC but crashes in android. it reruns an empty file. I if i run it with android settings in unity it works,,,
using (downloadval= new WWW(url))
{
while (downloadval.isDone != true)
{
// ...do stuff
}
yield return downloadval;
// ---do stuff
any ideas why is this happening ?
thaks a lot
Comment