hi
I updated to 1.11.2 from 1.7.5.
So, GetDownloadSize() coundn’t get correct download size.
It coundn’t exclude cached files.
CacheDirectory had .bundle files.
But .bundle files cannot be a AssetbundleCache.
CreateWebRequest() in AssetbundleProvider.cs, Is this really correct?
Let me flag this for the team to provide some insight.
Just a couple questions: 1) Did GetDownloadSize work correctly for you on 1.7.5? and 2) What makes you say that .bundle files cannot be an AssetBundleCache? I would say the opposite.
- GetDownloadSize works correctly on 1.7.5.
- Different data is placed in versions 1.10.0 and 1.11.2.
in cache directory
for example “common_assets_all.bundle”
1.10.0)
common_assets_all(directory) - common_assets_all(directory) - _data(file) and _info(file)
1.11.2)
common_assets_all.bundle
I suspect that GetDownloadSize() does not recognize the .bundle file as a cache.
Thanks for the additional context! Looks like the time has identified the issue, and will be rolling out a fix in the next release.