When I output one cube, the size of output bundle is about 70k. I think the data of vertex, normals, uvs for a cube should be much less than 70k. Let alone the compression of assetbundle.
Then I tried to output 10000 cubes with different positions, the size of output bundle is about 1.6MB.
Each cube should share the same mesh, and has respective name, transform(position, scale, rotation). The Increased size should be about 10000 * (10 + 34 + 34 + 3*4) = 460k. If compressed, should be less.
I think I must miss something important.
Someone can help me out?
Thanks mgear, but 32kb is also larger than expected.
Then I tried:
Changed the material of cube from default-material to mobile/diffuse(no texture), the output size reduced to 12kb.
Removed Mesh Renderer, the ouptput size reduced to 1328Bytes.
Removed the Mesh Collider, the output size reduced to 1192Bytes.
The last assetbundle only contains the mesh of cube, the size should be something reasonable,
There is a lot of other data that is stored and needed in the asset bundles, for the engine to make use of the content. If you just want mesh data, convert and store the data you need as xml/json or something like that.