Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Question Loading Addressable takes long time to complete on Android when build AAB

Discussion in 'Addressables' started by lehuynhthang99, Jul 30, 2021.

  1. lehuynhthang99

    lehuynhthang99

    Joined:
    Sep 8, 2020
    Posts:
    9
    I use addressable on my project with Unity 2019.4.26f1. The loading time of AAB compare to the one from APK is much longer. I that is the only clue I have till now. How can I debug this problem or find more hints to optimze this? These are the groups I use in the addressable

    upload_2021-7-30_22-25-14.png upload_2021-7-30_22-25-33.png upload_2021-7-30_22-26-16.png upload_2021-7-30_22-26-41.png
     
  2. jacky-kschou

    jacky-kschou

    Joined:
    May 4, 2013
    Posts:
    73
  3. lehuynhthang99

    lehuynhthang99

    Joined:
    Sep 8, 2020
    Posts:
    9
    Thanks for the answer. In my case, I use the option in the link you gave me: change the addressable compression from LZ4 to LZMA and the loading time reduces drastically.

    According to your solution, did you mean changing this file? upload_2021-8-2_15-31-26.png

    I did change the the line from " classpath 'com.android.tools.build:gradle:3.4.0' " to " classpath 'com.android.tools.build:gradle:3.4.3' " because of the Admob plugins but the loading time didn't change much. Maybe I should try a higher version and run testlab. Thanks for your recommend