- Home /
4.6 -> 5.0 Dramatic Performance Loss - No batching?
After upgrading my project to 5.0, this scene runs dramatically slower. I'm talking down from 120+ frames per second down to 30.
The scene is comprised of many transparent sprite renderers, billboarded towards the camera (although disabling the billboard script has no significant effect on performance. It seems like the problem lies in batching. Previously I would have seen ~1800 calls saved by batching, now the stats window says 1 call saved. Changing shaders doesn't affect it, nor does using the deferred renderer.
Turning off shadows improves FPS quite a bit, but still the scene isn't saving any calls with batching. Any ideas?
Edit: Added this screenshot to compare versions, although the 5.0 FPS is 74.2 here, it does dip to 30 in other areas.
Tested it with quad mesh renderers ins$$anonymous$$d of sprite renderers, and it once again is batching properly. Is there something wrong with batching Sprite Renderers in 5.0?
Answer by judgementAlex · Mar 07, 2015 at 12:34 AM
I ended up writing my own sprite renderer that uses a custom mesh since that seems to batch properly. If anyone wants the code just let me know.
Your answer
Follow this Question
Related Questions
[Performance] RenderForwardAlpha performance issue on Android with Unity 5.3.0f4 0 Answers
How to Display Hundreds of Thousands of Sprites? 2 Answers
Anti Aliasing and Sprites on Intel HD Graphics 0 Answers
How to improve performance with 10,000s of GameObjects? 4 Answers
what's the best to animate 50 circles at once? performance wise on mobile 0 Answers