MergeMode problems

Hey, I am not able to load a certain pool of Addressables, the problem is as follows:

I have the following combination of Addressables with Labels:
addressableA – [Skin1]
addressableB – [Skin1]
addressableC – [Skin1, Feature1]

addressableX – [Skin2]
addressableY – [Skin2, Feature1]
addressableZ – [Skin2, Feature1]

I need to load all Addressables that only have the label Skin2. I thought, that the MergeModes are for that, but they don’t offer this functionality.

My best bet was:
Addressables.LoadAssetsAsync<Object>("Skin2", null)
But this results in addressable X, Y & Z to be loaded.

If I use any of the other MergeModes (Union or Intersection) I get 0 assets.

I only want to load addressableX.

We built our whole asset management on this kind of sorting, but now it seems like this basic stuff isn’t even possible? This can’t be, I must be missing something right?
All of this workaround mess even just startet because the basic function – loading AddressableGroups – is not available.

Hope someone can help :s

Hi

I wanted to drop in to say that I don’t believe that’s currently possible. We’re currently in such a position ourselves where I’d like to filter on assets having a specific label only and only that label (I had to read your question a few times before I was able to make out what you meant).

For example, we have some music files. They all have the ‘Music’ label, but some have additional labels (when they belong to a specific DLC pack for example). One approach we explored was including all DLC content in the game, but unlock based on a player’s entitlement of the DLC. In the end I didn’t find an elegant way to filter these out using the merge modes so we didn’t pursue this further.

If someone does have a (elegant/easy) way to do this, I’m eager to know as well. Otherwise, this would be a nice-to-have feature request on my end. :slight_smile:

Hey @LuGus-Jan
We will now probably add an additional label “Base” which indicates local addressables, this would work too in your case.
I think it’s the only option right now. we now introduced 3 potential label “types” but if the system had the options we would only need one, a pity.
But yes, adding this one additional label will make it possible to get all the ‘Music’ ‘Base’ files. while you can still load all the ‘Music’ for ‘DLC 1’ :s