For a new 2d game I am making, I use a script that destroys a lot of objects in runtime, and it causes frame rates of around 5-10. The objects that are getting destroyed are all the same and only have a sprite renderer and a script that moves them constantly in one direction(less than 10 lines), and I even reduced the maximum graphics to 64. I am destroying the objects through an OnTriggerExit function if that makes a difference
Thanks in advance
If you are creating a lot of objects with Instantiate this will cause lag too. Try to create a pool of objects and just disabling and enabling the same objects all the time, not destroying.