Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
stupidn00b's avatar
stupidn00b
Explorer
11 years ago

Batching draw calls with Android SDK

Running into an issue I've never encountered with draw call batching. In anticipation of GearVR, I got my game down to ~40 draw calls and ~70k tris. When I loaded it onto GearVR the first time, it was very slow, so I connected the remote profiler, and the remote profiler is reporting that I'm around 500 draw calls.

Any idea why the draw calls would not be batching only when running on Android? Could there be a texture compression issue or something?

2 Replies

Replies have been turned off for this discussion
  • drash's avatar
    drash
    Heroic Explorer
    I'm going to guess that this is because you don't have the Android Pro add-on license for Unity. :-\
  • Actually, I do have Android Pro! I checked to make sure dynamic batching was enabled as well - should've mentioned that.

    I've done a little more investigating and it looks like it might be caused by my implementation of batching stuff - I'm using NGUI Atlases for the textures. Switching similar objects to their own materials actually reduced draw calls, so it looks like the NGUI stuff isn't batching at all on Android.