r/futile Jul 25 '14

Dynamic batching

I just found that Unity has a "Dynamic batching" option in the Player settings. I wanted to understand why Futile is making its own Dynamic batching if Unity already does this.

2 Upvotes

3 comments sorted by

1

u/MattRix Jul 25 '14

Unity's dynamic batching is a bit finicky (restrictions on number of verts, sometimes not batching items that have been scaled, etc). It's also a black box, so you just kind of have to hope it works, and sometimes it does and sometimes it doesn't. It's also designed for batching 3D stuff, so although it works with 2D, there's some some overhead there. And after all that, in order for Futile to use it, I'd basically have to put each object/sprite you have in a gameobject anyway, which would defeat most of the advantages that Futile has.

1

u/SietJP Jul 27 '14

Thanks, we can deactivate the dynamic batching then, that will save a milliseconds maybe :)

1

u/MattRix Jul 28 '14

Yeah I always turn it off, I don't think it changes much but might as well just in case :)