Joined: 25 Nov 2008 Posts: 186 Location: Portland, OR
Posted: Sat Nov 07, 2009 9:41 am Post subject: Unity iPhone's WWW class needs to support file:// urls
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)
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