- Home /
Which platforms support the "file://" protocol in the WWW class?
The docs on this page:
http://unity3d.com/support/documentation/ScriptReference/WWW.html
Say the following:
Note: http://, https:// and file:// protocols are supported on iPhone. ftp:// protocol support is limited to anonymous downloads only. Other protocols are not supported.
This is rather confusing, as it's not clear if the statement as a whole applies only to iPhone platform.
Does the file:// protocol work on PC, Mac and Android?
Thanks.
Answer by Eric5h5 · Mar 16, 2012 at 10:51 PM
file:// doesn't work in web players, but works for everything else.
O$$anonymous$$...thanks. I need to base a design decision on that, so good to hear!
Answer by rutter · Mar 16, 2012 at 09:53 PM
Does the file:// protocol work on PC, Mac and Android?
As far as I know, yes. I believe the note you're referring to is specific to iOS.
Your answer
Follow this Question
Related Questions
Access Unity assets natively on Android and iPhone? 0 Answers
WWW.GetAudioClip hardware decoding? ( on iphone and android ) 1 Answer
Emailing from within Unity iPhone or Android 2 Answers
Are there some restrictions of filename on Unity(, Android, or iPhone) ? 0 Answers
[help]How can I read the file in StreamingAssets on iPad/iPhone platform??? 0 Answers