如何将Unity中制作的通用iOS应用程序的下载大小减少到100MB以下?

时间:2016-10-20 17:28:57

标签: ios iphone xcode unity3d

自今年年初以来,我一直在制作iOS游戏(国家元首)。我用ARMv64架构推出它,下载大小刚刚超过30MB。我想发布一个带有通用架构和更多内容的更新,但现在我很难通过蜂窝网络下载到苹果100MB限制下的下载大小。

我知道通用架构几乎会使构建的大小翻倍,添加更多图像也会增加它。在优化统一之前,构建大小为70MB,Apple下载大小为108MB。所以,只有8MB才能减少我的想法。但是,在我尝试通过压缩纹理和音频来减小文件大小之后(按照this指南减小文件大小),统一大小降至53MB,但Apple下载大小仅降至102MB ...... / p>

如果没有它在游戏中变得非常明显,我无法压缩音频或图像,我不明白如何将Unity构建大小减少17MB,但Apple下载大小只有6MB。我希望有人向我解释一下,并给我一些提示,以便减少苹果的下载量,使其超出100MB。

Here are my Unity build settings

我正在使用Unity 5.4.1f1和Xcode 8.0

2 个答案:

答案 0 :(得分:2)

The default image compression for iOS looks bad but with a custom atlas packing policy you can override the compression quality and make it more bearable.

Have you checked from unity build log what'a taking most of the space?

Also, where are you checking the download size and have you tested that the build actually does not download over cellular? AFAIK the displayed size in app store is some uncompressed version and doesn't need to fit exactly 100MB

答案 1 :(得分:1)

正如我在上面的评论中提到的,我最终从.NET 2.0切换到.NET 2.0子集,这使得包大小远低于100MB