playMaker

Author Topic: Pooler cant put back to pool Parented objects  (Read 953 times)

Neikke

  • Full Member
  • ***
  • Posts: 134
Pooler cant put back to pool Parented objects
« on: July 18, 2019, 09:52:47 PM »
Hi,
 
I'm using great Pooler from Jeanfabre, but I'm experiencing some weird things, so I will probably address my question to him:

I'm Spawning a few Pooled objects from the Pool and parenting them at runtime to my Player, the problem is when I'm trying to do Pooler Destroy Stored, it can't get those pooled child objects back from the Parent to put them back to pool as non parented pooled objects. So one or a few just stay parented forever. Is there a way to fix that or am I missing something? Thanks!

daniellogin

  • Full Member
  • ***
  • Posts: 215
Re: Pooler cant put back to pool Parented objects
« Reply #1 on: July 19, 2019, 12:36:34 AM »
Well maybe the first step is to see if there is an error or normal process step missed.

However, as a work around, what about just un-parent them before trying to destroy them?

Neikke

  • Full Member
  • ***
  • Posts: 134
Re: Pooler cant put back to pool Parented objects
« Reply #2 on: July 19, 2019, 03:53:03 AM »
Yes yes I'm doing unparent just before I destroy pooled object but it just won't work. When I'm parenting just one pooled object, it works ok, but when I'm parenting a few of them in a row - some of them won't be unparented..