Whenever a player dies in my game, the camera zooms out. This however, causes a sudden increase in draw calls from ~45 to ~65 because more game objects are present in the game when the game is zoomed out. This causes a noticeable lag on my Android test device. Is there a workaround for this in terms of optimization?
The draw calls should not increase if the environment is marked as static.
If you have some movable objects. Immediately mark as static when died.
Try combining textures into atlas as possible to save more draw calls.
1 Like