Search Unity

DownloadDependenciesAsync PercentComplete property

Discussion in 'Addressables' started by lianaqiang, Sep 7, 2019.

  1. lianaqiang

    lianaqiang

    Joined:
    Apr 24, 2013
    Posts:
    12
    seems PercentComplete of DownloadDependenciesAsync returns not accurate, i upload my remote bundle to google cloud and while downloading it returns 0.5 immediately ,and after Completed get called it returns 1, never change in other time...
     
  2. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    913
    This should be fixed in 1.2.2. Please try again and let us know.
     
  3. lianaqiang

    lianaqiang

    Joined:
    Apr 24, 2013
    Posts:
    12
    it still not works, now the PercentComplete just return 0,and after complete, return 1. I have to say what i do, i build all my assets to one remote bundle, about 70m, after InitializeAsync done, use DownloadDependenciesAsync, pass in one of remote asset's address as parameter, just print PercentComplete in Update call, do i miss something or not?
     
  4. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    913
    That sounds like the right technique. We'll look into it. I'm guessing our tests weren't exhaustive enough. Your setup sounds straightforward, but if we have any issues, we'll reach out. Since we already thought we fixed it, looking into this will be very high priority.
     
  5. Dolzen

    Dolzen

    Joined:
    Mar 26, 2014
    Posts:
    80
    I have the same issue in 1.2.3