playMaker

Author Topic: Can only copy arrays with the same elements type. Found <Unknown> and <GameObjec  (Read 1190 times)

jrDev

  • Junior Playmaker
  • **
  • Posts: 59
Hello,

I am getting this error when I use either GetFsmArray or SetFsmArray. The weird issue is that I have used these actions before in another part of the project I and don't get the error. Current use case is that I am looping through an array of gameobjects and the current index object I try to retrieve and set an array from it's fsm. Any insight?

Thanks,
jrDev

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Hi,

 could it be that the array has only null elements or none? which then could mean that internally, it can't figure out what's the type for this array?

Bye,

 Jean

jrDev

  • Junior Playmaker
  • **
  • Posts: 59
Hi,

 could it be that the array has only null elements or none? which then could mean that internally, it can't figure out what's the type for this array?

Bye,

 Jean
Hey,

It was because on the the array items didn't have that variable listed in it's fsm.

Thanks,
jrDev