I just realized Google Play will only allow 100 MB apks and since I have no idea yet how to use expansions yet, I try to get my project as small as possible.
Which options do I have to make the filesize of a terrain smaller? Basically, most terrains dont even use any height and I already set the height resolution to 33 (the minimum).
How can I compress fbx/model files? The “mesh compression” as mentioned by the doc I cannot find.
How can I compress animations?
Also, is there any way to see the COMPRESSED size of the build elements? I mean what does it help if it lists me an image as 2MB when compressed it is only 370kb?
I managed to reduce the overall size to below 90 MB now, since I realized the sounds can be heavily compressed with Vorbis quality 1/100. But still, there is a lot to optimize.
Where can I find info on the asset bundles that you mentioned? Or is that the splitting (thanks for the link!)?
select prefab, set assetbundle tag *i prefer doing bundles in separate project, so their extra files wont get included in build…not sure if thats good idea though
Having mono sounds almost halves their file size, but is generally not noticeable on mobile, almost certainly not as much as reducing the quality. You could do both and reduce the file size even more.
can also build ARM only, instead of FAT, if that helps much on build size much.
(and then upload them separately if want to…but read somewhere here that x86 androids are like 2% or less?)
I figured since I cannot use 30 terrains because each will be at least 1-2 MB, making all terrains into 1 can drastically reduce the resulting filesize.
Now the only question is: when my 1 super-terrain hosts all 30 segments and each scene will only show 1 segment (divided by nothing specially, just the position of the terrain will change per scene) will the other 29 invisible segments of the terrain impact the performance? Since it is the same object and heights generate triangles. Or will the unrendered triangles/terrain not decrease the performance?
EDIT: OK, it does very negatively impact the performance. Is there a way to not do that? Maybe with some asset from the store or a nice script?
Another question is, why does the filesize of a terrain grow when I just add textures? It does not grow with terrain size or when I paint onto it. That feels a bit strange to me. How can the terrain grow from 1 to 8 MB just by adding textures?