I have an FBX model (created in Maya) that is a very basic object (basically 5 cubes).
When I import it into Unity iPhone without animation the object will do dynamic batching… when I import it with animation it will not batch! Any idea why? This is killing me!
I have attached the model. Any help will be greatly appreciated!
no, animation does not affect this, it should still work.
Question is if your model out of unitys view has 300 vertices … its easy to forget that what the modeller tells you is bulls*** (they omit a lot of technical facts which especially hits the vertex count correctness pretty heavily)
to find that out → empty scene, drop the model in front of the cam, see stats (game window)
ah well U3 is a bit different, until Preview 5 there was no batching and I’m unsure if animated objects batch already again. Its after all a preview, not the released thing (the preview 5 mail refreshed that too)
so you would likely file a bug with above package on the matter to be sure its listed
Animation Batching does work in 3.0 b5, I’ve tested it. However, the model I am using (attached to be first post) doesn’t batch when I import the animation. I haven’t tested in 1.7 but I don’t think this is a beta issue.
I’m able to reproduce your issue (with your attached FBX file) in the newest release version (3.0.0f5). Did you ever figure out the solution? Or a workaround?
Didn’t check out your file, but my guess would be that the objects you’re expecting to batch have different local scale values. Either that, or its a skinned mesh (which don’t batch, period).
That’s disappointing. Is there anyway to have animated characters without skinned mesh? We’re trying to write a game that has a bunch of enemies (all the same model). If we get batching, performance is acceptable. Without it, it’s not. We’d like those enemies to be animated, however, as they approach the hero.
Animation doesn’t interfere with batching, only skinning, scale, and vert count do. So you can safely have a bunch of animated elements that will batch, as long as they follow the rest of the rules (share a material, same local scale, not skinned, <300 verts)
If the object has the component the dynamic batching dosen’t work. Maybe if your animation is simple enough you can make animation in unity. If you want to have dynamic batching you should use just . Sorry for my english.