Does a large number of layers affect performance?

Hi! i need to use layerculldistances for better performance so i need to create some extra layers. Right now there are not many models in the scene but when i add more into their respective layers then will it cause any frame rate drop due to objects being rendered in lot of different layers?

Thanks for reading!

@NOAA_Julien - Your link doesn’t work.

I personally don’t think they do. I’ve been working with games that have over 100 layers, and nothing is affected, its merely a way to reference things, so I don’t see how it would effect performance.

Hope that helps

For posterity, the above answer may be referring to tags? The maximum number of layers is 32, and they most definitely have performance implications. For each layer in the matrix of layers, Unity must evaluate collisions based on every other layer. Here is an excellent blog post that goes into detail about the cost of layers: 1