Making Shield Power-Up

I tried in making a simple Shield Power-Up.

So these are my steps

  • created a shield pick up
  • so then when i pick it up it will destroy itself and spawn the actual shield prefab
  • then when it spawns it attaches to the player - and the shield has a radius of col at 5 and then it destroys after 10 seconds

And the question is why does spawned shield wont attach to the player. I even tried using find parent

When it’s picked up

newShield = Instantiate(ShieldObject, player.transform.position + desiredOffset);

newShield.transform.parent = player.transform;