- Home /
Static Batching with Asset Bundles
Does Unity for iOS batch static objects when they are instantiated from asset bundles?
Thanks!
I would be curious to know this, too. $$anonymous$$y guess is no in iOS Advanced 1.x. When I export an asset bundle with 'static' checked it's no longer checked when it imports, and re-setting it to static in the editor doesn't seem to affect the batching of the currently running executable.
Ive just checked it also with my assetbundles. After importing it, they are no longer marked as static. Any further ideas on that why?
Answer by jonas-echterhoff · Jun 09, 2011 at 08:08 AM
AFAIK, the "static" checkbox only has effect for scenes. For instantiated assets, however, you can use the StaticBatchingUtility.Combine function to manually trigger static batching from code.