I have a simple 2D top down shooter with a static tower constantly shooting at me every 1.0 seconds. The bullit is a rigid body with a sprite and collision shape attached. On the bullet itself is also a script destroying the bullet after 5.0 sec. While playing everything works fine with 60fps until the first bullet starts to destroy itself. Suddenly the framerate drops down to 5 fps and gets back up after a view seconds.
I tried to find out what causes this issue: colliders and reducing the life of the bullets did not help. So far I got like up to 15 different bullets at highest. I can not believe that that amount of rigid bodies is already too much, is it?
Running on:
Win 10 64-bit
cpu = Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 CPUs), ~4.0GHz
gpu = NVIDIA GeForce GTX 970