- Home /
The question is answered, right answer was accepted
WWW doesn't work outside of editor.
i am using this code to download a version file for my game:
ver = new WWW("https://dl.dropbox.com/u/28641623/TowerRobots%20Builds/Version.txt");
yield return ver;
this works perfectly in the editor:
but when i build the game it i get an error:
Does anyone know why this is happening, this error is consistent among all testers.
Answer by mindlube · Jul 25, 2012 at 04:19 AM
The screenshot errors says "https" - so can you use http: instead? The unity manual says "Note: http://, https:// and file:// protocols are supported on iPhone. ftp:// protocol support is limited to anonymous downloads only. Other protocols are not supported." Maybe https is also not supported on Windows standalone?
There is certainly nothing wrong with dropbox's ssl cert. I just tried it with this on my $$anonymous$$ac, and it downloads fine: curl -v -O https://dl.dropbox.com/u/28641623/TowerRobots%20Builds/Version.txt edit: The manual makes it sound like https should work... hmmm maybe you need to file a bug?
i will try. Edit: this worked, i will have to file a bug report, wouldn't bee the first...
Follow this Question
Related Questions
How To Know File Changed 2 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers