- Home /
Android Obb Generation executables
Hi, I asked some time ago* about a problem we are still having. We developed an adventure game that works well in PC/Mac/PS4/iOS but in Android, everytime we use obb file option, the game freezes when loading this file.
Problem seems to be linked to the number of audio clips we got (in total resources folder contains more than 64k files), since we can run the game with just 2 audio languages. Problem comes with the 3rd language that adds around 22k clips more.
Considering that I didn't get any answer, I have thought about a different perspective, since Unity might not the problem... What's happening when the obb is generated? Are some Android SDK executables being used for this purpose? Could be that they are generating a corrupt obb that Unity cannot properly load?
Best regards and thanks in advance.
*My previous question: http://answers.unity3d.com/questions/1226538/android-resources-folder-number-of-files-limit.html
It seems like you have reached the file limit for a folder on a Fat32-System (see these questions on stackexchange and superuser).
Thanks saschandroid, it seems is Fat32 limit as you say, but I made I mistake, the total number of files is lower around 11k, counting ".meta" files is 22k. Anyway, I just checked ".obb" file and the directory has 72k files which is more than directory limit. Still, this is a obb/zip file... is android or unity mounting the obb file as a directory or something similar and so the fat32 limitation? Any idea on a workaround? :S