Performance issue

Does the number of objects affect the game performance?
Though some game objects are filtered by layers, they do exist in the game. My game had a good FPS before, but when I add more game objects in it, the FPS drops more and more. I assigned all unseen objects different layers to the current camera’s culling mask, but it seems FPS is still dropping. What else should I notice?

Any suggestion is appreciated.

If those objects have scripts attached to them, or rigidbodies, or whatever else that causes some computation, then yes, they will inevitably slow things down. Time has to be spent to compute all that stuff!

If your objects have nothing on them, and are not visible, then they should be almost zero cost (they will cost some memory of course). But then, why not just delete the objects? :slight_smile: