How data is split between the APK and OBB Do not use the contents of the OBB separately - always treat the APK and OBB as a unique bundle, the same way as you would treat a single APK. If the app starts and can’t find and load the OBB, only the first Scene is available (see documentation on how data is split between the APK and OBB below for more information). Refer to the expansion files section of the Android Developer documentation for more information. ![]() The OBB file name must correspond the format required by Google. If you select Build and want to install the app manually using the ADB utility, you must first install the APK and then copy the OBB into the correct location on your device. If you select Build and Run, the APK and OBB files are installed on your device by Unity. For example, if the APK has the name mygame.apk, the OBB is in the same directory under the name. The Publishing Settings section of the Player Settings window, with the Split Application Binary checkbox highlightedīoth parts of the output package (APK and OBB) are copied to the output directory you specify when building the app. ![]() If you want Unity to split the app output package into APK and OBB for you, open the Player Settings window (menu: Edit > Project Settings > Player), and in the Publishing Settings section, tick the Split Application Binary checkbox. This is not the only way to split the app package (other options include third-party plug-ins and AssetBundles), but it is the only automatic splitting mechanism officially supported by Unity. ![]() Unity automatically splits the output package into APK and OBB. Refer to the Android Developer documentation on expansion files for more information. If your app is larger than 100MB (which is quite likely for a big game), you have to split your output package into the main part (APK) and the expansion file (OBB). ![]() APK expansion files are used as a solution for the 100MB app size limit in the Google Play Store.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |