Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

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:
    1,013
    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:
    1,013
    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:
    90
    I have the same issue in 1.2.3
     
  6. redlips_studio

    redlips_studio

    Joined:
    Jan 7, 2016
    Posts:
    1
    Same issue in 1.2.4
     
  7. DavidUnity3d

    DavidUnity3d

    Unity Technologies

    Joined:
    Nov 17, 2016
    Posts:
    367
    Hey all, if you're having trouble with percent complete would you mind submitting a ticket with a project that reproduces your issue. In 1.2.4 we fixed some issues with percent complete but it sounds like something about it still isn't working correctly in all use cases.

    If you submit a ticket please post the case number in this thread. It helps us make sure the tickets get to the right team. If we end up with duplicate tickets that's fine, more information is likely to be more useful than less.
     
    Dolzen and unity_bill like this.
  8. Dolzen

    Dolzen

    Joined:
    Mar 26, 2014
    Posts:
    90
    The same issue still happening in 1.2.4, I'm gonna submit a ticket as soon as I have time.
     
unityunity