Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Why do the profiler and the stats window disagree about the draw call count?

Discussion in 'General Graphics' started by invicticide, Feb 4, 2015.

  1. invicticide

    invicticide

    Joined:
    Nov 15, 2009
    Posts:
    109
    The attached screenshot says it all, really...

    The profiler window's GPU tab shows 28 draw calls (in this snapshot), while the stats window shows 20 draw calls with 11 saved by batching. These numbers don't add up.

    What gives?
     

    Attached Files:

  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    You should consider that the stats window itself produces a draw call and gizmos do too.
    If you like to have exact profiler stats you should debug a standalone version of you game.
     
    theANMATOR2b likes this.