Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Why won't my UI Batch?

Discussion in 'UGUI & TextMesh Pro' started by FlashMuller, Jan 4, 2015.

  1. FlashMuller

    FlashMuller

    Joined:
    Sep 25, 2013
    Posts:
    449
    Hey guys!
    I know batching of the UI is an often discussed issue. I've read the Forums but still haven't found a solution to why my UI consumes about 25 Draw Calls (see attached Image).

    UIDC.PNG

    I've activated the Sprite Packer inside the editor AND manually built an Atlas using the Sprite Editor. The UI only uses this Atlas. I've got no idea where to start to reduce the draw calls.
    Thanks for your Help!
     
  2. badawe

    badawe

    Joined:
    Jan 17, 2011
    Posts:
    297
    Overdraw of images + Text = DrawCall Madness
     
  3. shkar-noori

    shkar-noori

    Joined:
    Jun 10, 2013
    Posts:
    833
    have you enabled Dynamic batching?
     
  4. badawe

    badawe

    Joined:
    Jan 17, 2011
    Posts:
    297
    don't make any difference, for UI elements, overdraw, even invisible parts, objects over objects, will generate a lot of draw calls.