playMaker

Author Topic: WWWobject on iOS  (Read 3663 times)

MUX

  • Playmaker Newbie
  • *
  • Posts: 43
    • @stefstivala
WWWobject on iOS
« 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?
« Last Edit: February 15, 2014, 08:47:27 AM by MUX »

MUX

  • Playmaker Newbie
  • *
  • Posts: 43
    • @stefstivala
Re: WWWobject on iOS
« Reply #1 on: December 24, 2013, 01:48:47 AM »
fixed via Jean's WWWObjectMobile Edit

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: WWWobject on iOS
« Reply #2 on: December 26, 2013, 06:29:24 AM »

MUX

  • Playmaker Newbie
  • *
  • Posts: 43
    • @stefstivala
Re: WWWobject on iOS
« Reply #3 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:///)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: WWWobject on iOS
« Reply #4 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