I just implemented pooling into my basic 2D game and one of the pooled prefabs is composed of two child gameobjects with images. It seems to work fine for a while but, after a bit, the pooled object sometimes doesn’t show up and, when it does, it only shows one of the child elements. I’m confused. Does anyone know why this might be?
I think I figured it out. I couldn’t edit the polygon collider and put colliders on each child object; so, it was deactivating the first child object that collided. I found out that I could edit the polygon collider on the parent if I closed one inspector tab and restarted Unity. I did that, edited the parent collider, and disabled the child colliders. Now, it seems to be working.