Unity iPhone's WWW class needs to support file:// urls

 
Post new topic   Reply to topic    Unity Community Index // Wish List
View previous topic :: View next topic  
Author Message
silentchujo



Joined: 25 Nov 2008
Posts: 186
Location: Portland, OR

PostPosted: Sat Nov 07, 2009 9:41 am    Post subject: Unity iPhone's WWW class needs to support file:// urls Reply with quote
The WWW class in Unity iPhone doesn't currently support the file:// protocol. This means that assets stored in the applications Documents directory, for example content downloaded through in-app purchase, can't be loaded.

Textures can be loaded from a byte array, so they appear to be the only exception.

Error received:
Code:
You are trying to load data from a www stream which had the following error when downloading.
Protocol file not supported or disabled in libcurl
(Filename: /Users/build/builds/unity-iphone/iphone/Projects/../Runtime/Export/WWW.cpp Line: 745)


http://feedback.unity3d.com/pages/15793-unity-iphone/suggestions/377520-www-class-needs-to-support-file-urls?ref=title

_________________
Go get Azplode!


Last edited by silentchujo on Sat Nov 07, 2009 8:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
dreamora



Joined: 05 Apr 2008
Posts: 6652
Location: Zürich, Switzerland

PostPosted: Sat Nov 07, 2009 10:02 am    Post subject: Reply with quote
should this really be the case (not just an iPhone Basic restrictions) I agree.
Loading Asset Bundles from flash is a must have

_________________
Technologies: Unity Pro, iPhone Advanced
Site: GayaSoft & PatchLaunch Technology
My Blogs:My Development & Persistent Online Worlds
Back to top
View user's profile Send private message
silentchujo



Joined: 25 Nov 2008
Posts: 186
Location: Portland, OR

PostPosted: Sat Nov 07, 2009 7:35 pm    Post subject: Reply with quote
Not an iPhone Basic restriction. I'm an iPhone Advanced licensee.
_________________
Go get Azplode!
Back to top
View user's profile Send private message
Post new topic   Reply to topic    Unity Community Index // Wish List All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum