Hi Peops!
We have our app split in multiple addressable groups that represent our features.
Core features are local, additional features are remote.
If the user selects a feature that is remote, we of course don’t want to let him wait until the downloaded assets are ready downloaded and the stuff pops up out of the sudden. We want to inform the user about the downloadsize and the progress while downloading.
Further we need to be able to download these assets beforehand (triggering the download without actually loading the assets in memory / instantiating them).
I have multiple problems:
- I can’t get an addressable group to load.
- I can’t find a method that is able to download addressables, only load them.
- The only method that made sense like “Addressables.GetDownloadSizeAsync()” is marked obsolete without any alternative.
Since this is a basic problem which is probably the No. 1 usage of the addressable system, I’m sure that a lot of you can give me some handy tips 
Thanks in advance!
Ok, I solved some of the problems:
3.
I found a variation of GetDownloadSizeAsync() that is not marked as obsolete which is this:
double downloadSizeInMb = await Addressables.GetDownloadSizeAsync(resourceLocations).Task
this will return the download size in Byte, without downloading the package.
Well to make it short, 1, and 2 must be possible but they aren’t.
1.
I ended up adding a label named like the addressable group to every entry in the group and load them via the label name. This led me to more problems, because I don’t seem to be able to load all assets with a label that does not have a second label applied (short: I just want to load “skin1” but not “skin1, feature1”)
As seen in my new post here .
2.
I ended up loading them normally via Addressables.LoadAssetsAsync<Object>("label")
If you have asset packs with 800MB of data and you are working on mobile. Well, I don’t have words for that, this is nonsense. There must be a way to only download the content right?!
Well very underwhelming so far. But we build everything on top of Addressables for 8 Months now, now that everything needs to really work perfectly in operations as-well, it shows that a lot of basic things don’t seem to be thought through, or were just totally forgotten in the design process.
2 Likes