[4.6] GUI - How to reduce Draw Calls

Hello!

I’m very confused as how to atlas with the new GUI system. I read that it was handled automatically so I imported a bunch of different images and saw my draw calls rise for every new image.

The material section only takes a shader as well.

How does one go about getting low draw calls with this new system?

Make sure you set the ‘Packing Tag’ on all your sprites to the same value, so they will be placed in the same atlas.

I have spent a lot of time figuring out that when sprites are overlapping they also don’t batch draw calls well.

I had a list of 53 tiles, all the same prefab. If they are overlapping by 1 pixel I get ~200 draw calls. If they are nicely seperated the draw calls go down to ~6.