Search Unity

Question Very slow loading when "Build App Bundle (Google Play)" option is used

Discussion in 'Android' started by Tomasoo, Jun 23, 2021.

  1. Tomasoo

    Tomasoo

    Joined:
    Jun 23, 2021
    Posts:
    1
    We have just upgraded from unity 2019.2.19f1 to 2019.4.21f1. Everything is working correctly, but when we build the app for Google Play, we are getting very long loading times.

    We checked the resulting files, and we found that all files are being compressed, regardless of the noCompress attribute inside launcher/build.gradle.

    We tried the workarounds from this thread but it seems we are having a different problem, since all assets are being compressed, even if they're all lowercase. Not only streaming assets are being compressed, but .resource, .bundle, aa/catalog.json, aa/settings.json, etc.

    It works correctly when building as APK
    Supercombined.png

    All addressables/assetBundles are being compressed.
    deflatebundle.png

    We are unable to identify the cause of this problem. Any Insight as to what can we do solve this?