x


[Closed] 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: alt text

but when i build the game it i get an error: alt text

Does anyone know why this is happening, this error is consistent among all testers.

untitled.png (499.3 kB)
untitled.png (374.0 kB)
more ▼

asked Jul 25 '12 at 01:14 AM

TheDarkVoid gravatar image

TheDarkVoid
919 12 22 28

(comments are locked)
10|3000 characters needed characters left

The question has been closed May 14 at 11:43 PM by TheDarkVoid for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

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?

more ▼

answered Jul 25 '12 at 04:19 AM

mindlube gravatar image

mindlube
238 2 4

There is certainly nothing wrong with dropbox's ssl cert. I just tried it with this on my Mac, 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?

Jul 25 '12 at 04:22 AM mindlube

i will try. Edit: this worked, i will have to file a bug report, wouldn't bee the first...

Jul 25 '12 at 01:51 PM TheDarkVoid
(comments are locked)
10|3000 characters needed characters left

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x4172
x1677
x527
x242

asked: Jul 25 '12 at 01:14 AM

Seen: 323 times

Last Updated: Jul 25 '12 at 02:03 PM