Hi, I’m just playing with addresables and I was wondering if I can load an entire group and get the List of the items inside of it.
Example:
MyScriptablesGroup
→ Scriptable1.asset
→ Scriptable2.asset
→ Scriptable3.asset
Addressables.LoadAssetAsync<List>(“MyScriptableGroup”).Completed += OnCompleted;
A few threads relates to this feature request, but no official reply yet.
Currently, we are able to load a group of assets using the label key. But it'd simplify certain workflows to be able to address groups of assets by their addressable folder name.
Those of us loading groups of assets for many different contexts would leave us with tons of addressable labels. Which is not an ideal and pretty unwieldy.
I noticed via the Addressable window you can drag entire folders in and it brings all the objects in and does ... something else? Not entirely sure what this aff…
Hi, I'm wondering does anyone know how to load an asset from a specific group or label? I've looked at the documentation and I don't see an obvious way of doing this. Thanks for your time!
Until then, apply a label to entire group manually, or use a rule based importer to automate.
Have I not replied? ok. for now the solution is exactly what you said: apply a label, or use the rule based importer. In the future, we are looking at making it easier to add schemas to groups that could do this kind of thing. Related, multi-group editing is on the list too.
1 Like