Hello Guest

Author Topic: 2 Draw calls on 2 identical sprites  (Read 4642 times)

camelot10

  • Newbie
  • *
  • Posts: 24
    • View Profile
2 Draw calls on 2 identical sprites
« on: July 26, 2012, 02:52:07 pm »
i dont know what im doind wrong. can someone point me how i can reduce draw calls ?
i use one atlas for same sprites.
its only 2 sprites in scene both from one atlas and its require 2 draw calls.
each new enabled element in scene increase draw call by 1.

archived project attached.

p.s. xp service pack 3, unity 3.5.4f3


Edit: unikron: removed attachment. Post in the private support are if you'd like to post source.
« Last Edit: July 26, 2012, 02:54:43 pm by unikron »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2 Draw calls on 2 identical sprites
« Reply #1 on: July 26, 2012, 03:01:23 pm »
Had a look at the scene. Looks like Unity haven't implemented dynamic or static batching in the Flash player. They handn't when I looked at it back when it was released, but looks like they still haven't. Switching to any other platform will make this work properly, and as expected with 1 draw call.

Please file a bug report with Unity - they probably won't fix it unless enough people report it.