Question by
dbsierra · Oct 02, 2018 at 03:33 PM ·
uibatchingdraw callsdraw order
Unity UI doesn't batch if un-batchable object is in between two batchable objects?
For example with this hierarchy:
Packed sprite
Packed sprite
Text
2 batches as you would expect
But with this hierarchy:
Packed sprite
Text
Packed sprite
3 batches.
It looks like hierarchy (render order for Unity UI) affects batching with UI. Is this true? Is there no way around this? I'd like to use layout groups as well as logically group my UI together in the hierarchy, but then I would lose on performance, seems wasteful.
Thanks for any help!
Comment