taskakp.blogg.se

Unity player apk
Unity player apk





unity player apk

Also check out the stripping level.Įxample: in Unit圓D > Menu > Build Settings > (new window) > Player Settings > (new window) > Player > Settings > ARMv7:true, x86:false, API Compatibility Level: NET Standard 2.0Ĥ. NET API, which can help keep size down.Ĭhange the build to just ARM you don’t need x86.

unity player apk

NET Standard 2.0 restricts you to a smaller subset of the. Remove the parts of the engine you arent using instead of including all of it. Remove the parts of the engine you aren’t using Remove any stuff you don’t need, such as scenes that are in your build but not used.Įxample: in WinDirStat > menu:File > Open Folder > choose your unit圓d project > Ok, Wait, Navigate to Assets folder, Check your files …maybe there are some you don’t use or need.Įxample: in Unit圓D > menu: Window > General > Console), click the small drop-down panel in the top right, and select Open Editor Log …you’ll see only your files in uncompressed size, so it won’t be true in your APK !!! (uncompressed to compressed size is not linear, bad with DLL, good with picture file)ģ. It’s common sense, but it’s easy to forget some large picture or sound files in your project. Remove useless assets, models, script etc It’s just a downside of using a game engine that has lots of features you don’t use.Įxample: in 7-Zip > Open your APK file, wait, sort by Size …’lib’ use 10 mo, ‘assets\bin\Data\Managed’ 6 mo (compressed) …so that’s 16 mo for the engine in your APK, (uncompressed to compressed size is not linear, bad with lib, good with assets)Ģ. You won’t be able to get it much smaller and later version of Unity are bigger !!!īut no matter what you do, I doubt you’ll get a completed game smaller than ~20mb. Half of that size is taken up by the Unity engine. If you have audio, Convert songs to ogg.Use small size textures/images and compression.Remove the parts of the engine you aren’t using.Remove useless assets, models, script etc.Your app will be splitted in small parts for download, it’s one package for all hardware plateformes …and Google will force you into it next year anyway. Note: this article was made using Unity 2019.1Įdit (2020): use App Bundle now.







Unity player apk