Forum Discussion
stupidn00b
11 years agoExplorer
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?
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
- drashHeroic ExplorerI'm going to guess that this is because you don't have the Android Pro add-on license for Unity. :-\
- stupidn00bExplorerActually, 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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 7 months ago
- 11 months ago
- 2 years ago