Playmaker Forum

PlayMaker Help & Tips => iOS Help => Topic started by: MUX on December 23, 2013, 09:22:53 PM

Title: WWWobject on iOS
Post by: MUX on December 23, 2013, 09:22:53 PM
in my previous project experience in unity 3.5 & playmaker i used to download the user's gamecenter profile pic using WWWobject to load the image into a texture.

now on a new project i'm using Unity 4 for the first time and i noticed that WWWobject is now not available for my ios builds? i noticed the category is 'Web Player' in my previous project so just wondered if that's a bug or should i be loading the photo a different way now?
Title: Re: WWWobject on iOS
Post by: MUX on December 24, 2013, 01:48:47 AM
fixed via Jean's WWWObjectMobile Edit
Title: Re: WWWobject on iOS
Post by: jeanfabre on December 26, 2013, 06:29:24 AM
Hi,

 here is the link to it:

http://hutonggames.com/playmakerforum/index.php?topic=3422.msg19064#msg19064

 bye,

 Jean
Title: Re: WWWobject on iOS
Post by: MUX on February 15, 2014, 08:47:14 AM
this is still giving me some drama
it loads an image fine when loading from an online location (http) but fails when i try to load a path to an image in my resources folder (file:///)
Title: Re: WWWobject on iOS
Post by: jeanfabre on February 17, 2014, 10:38:40 AM
Hi,

Resource folder is not "file///" that's different.

 if the file is in your "Resources" folder, then use the action "resourceLoad"

http://hutonggames.com/playmakerforum/index.php?topic=3916.msg19802#msg19802

If it's on the device, then can you share more info as to what is this file, where you think it's located and the full path to what you would expect it to be as you write in this action?

bye,

 Jean