Question by
mich13lfifa · Aug 28, 2020 at 09:30 PM ·
first person shooter
FPS game destroys bullets after initial bullet spawns,Instantiated bullet destroys and makes new bullets impossible to spawn
So I am making an FPS. I have created a bullet prefab, however that one is already in the world. After a set number of seconds that bullet destroys itself to save memory. However, after it destroys itself, it destroys the whole prefab within the game, and makes it impossible to shoot new bullets. How can I solve this?
Thanks in advance!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613010734im_/https://answers.unity.com/themes/thub/images/avi.jpg)