playMaker

Author Topic: Arraymaker - Arrays/Hash tables no longer work on disabled objects?  (Read 795 times)

jasperPT

  • Full Member
  • ***
  • Posts: 115
  • I am a VFX Animator teaching myself to make games
Hi team.

I am having some trouble recently after updating my project to a slightly newer version of unity (2018.4.14f1)

I used to be able to get data out of an array/hash table from an object that was disabled, however for some reason if the game is running now it looks like that data in the tables on disabled objects does not exist until they are re-enabled.

Is there a way I can change this to allow access to the array/hash data on an object that is disabled?

Thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Arraymaker - Arrays/Hash tables no longer work on disabled objects?
« Reply #1 on: April 17, 2020, 09:04:19 AM »
Hi,

 I would try again and see if I am accessing everything properly, I don't anything has changed on that regards, if an ArrayList is present on that disabled object and you have an actual reference of that gameobject ( before it got disabled), then it will work, what could be happening is that your gameobject reference is acquired using a find action, which then will not find it because it only finds active ones.

Can you double check on this?

Bye,

 Jean