Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Neikke on July 18, 2019, 09:52:47 PM

Title: Pooler cant put back to pool Parented objects
Post by: Neikke 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!
Title: Re: Pooler cant put back to pool Parented objects
Post by: daniellogin 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?
Title: Re: Pooler cant put back to pool Parented objects
Post by: Neikke 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..