- Home /
Question by
Legostyle03 · May 26, 2020 at 03:08 PM ·
scripting problemgameobjectcreate
Spawned healthpack not working
So i have a gamemanager that spawns stuff every wave. One of those things is a healthpack. It's set to summon a prefab. I can pick up the prefab normally, but i can't pick it up if it's summoned by the gamemanager. Anyone know why?
Comment
Hi!
In order to help you it will be useful if you could share the instantiation code as well as if there is any error in console when trying to pick it up? And how specifically look your pickup code, does prefab has all the necessary components? And etc.
So, you need to be more specific, because it's impossible to help by only knowing that your instantiated healthpack doesn't work.
Your answer