Search Unity

Problem with GetDownloadSize method

Discussion in 'Addressables' started by whowh, May 13, 2019.

  1. whowh

    whowh

    Joined:
    Mar 7, 2019
    Posts:
    23
    Hi

    I am trying to use this method.
    But I got a problem.
    The return size will include the date I already download.
    How do I get the real download size?

    Thanks.
     
  2. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    913
    As of at least the latest release, GetDownloadSize should account for cached bundles. So if you download some of your content, then call that method, you'll only get what's left.
    if that isn't working, it's a bug.
     
  3. whowh

    whowh

    Joined:
    Mar 7, 2019
    Posts:
    23
    Hi

    I use the latest version the problem still exist.

    Thanks.
     
  4. whowh

    whowh

    Joined:
    Mar 7, 2019
    Posts:
    23
    Hi @unity_bill

    Is there any updates about the issue~?

    Thank you
     
  5. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    913
    Please create a bug with the Unity bug reporter tool with a repro project so we can see how this is happening.