playMaker

Author Topic: arrayMaker Array list Get Random / iOS  (Read 2457 times)

cl-apps

  • Playmaker Newbie
  • *
  • Posts: 2
arrayMaker Array list Get Random / iOS
« on: July 16, 2013, 10:48:17 AM »
I'm trying to figure out a strange bug in my game. I have added an arrayMaker array to my game, which adds objects as they are found which all works fine in the editor and on the iPhone.

However after I add an Array List get Random action and fill the set up details and a variable where to put the GameObject it crashes the iPhone but not the editor.

I have tried just having this action active and it is the only one that crashes the game. I will probably just work around the bug in a different way but would be interested if there is an error using this action on the iOS platform?

The rest of arrayMaker seems to work OK.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: arrayMaker Array list Get Random / iOS
« Reply #1 on: July 28, 2013, 11:49:17 AM »
Hi,

 can you describe what you do with the random pick? I would think off the bat that it's not getting a random item that is the issue, but actually what you do with it afterwards.

 and easy way to find out is to not use get random, and instead get always the first item for example, if that crashes, then you know it's not the get random.

Keep me updated, cheers

bye,

 Jean