Hello Guest

Author Topic: Sprite batching issue  (Read 4821 times)

Engelsted

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Sprite batching issue
« on: October 01, 2013, 10:27:15 pm »
I am having some problems with the sprite batcher. I have been away from my project for some time and when I booted it up I had way more draw calls than I used to (where I used to have around 8 I would now have 1200). It seems that after I updated unity to 4.2.1f4. Almost all of the sprites I use are from the same collection but each counts as a new draw call.

I have tried reverting to a much older version of my project to test if I had randomly clicked something to change this but it also displayed way to many draw calls.

Is this a known error or am I the only one experiencing something like this?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Sprite batching issue
« Reply #1 on: October 01, 2013, 11:44:44 pm »
Is it just that you have the gizmos turned on in game view? Unity counts those for draw calls too...

Engelsted

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Sprite batching issue
« Reply #2 on: October 02, 2013, 07:56:45 am »
Yep that was the reason. I had no idea that the gizmos counted as well. Thank you!