Heyo, trying to create a generic assetDatabase / addressables loading scheme, where i can give the loader a type that extends a interface, and stores the handles generated for unloading. Problem is that the handles given back dont seem to be able to be cast as the type, or added to any list of handles, even a <object> list. How do you store generic handles so you can dispose of them later?
i do understand that you cant have a type of IList<T>, but to be able to load a certain type, i cannot just pass IData, i need to pass the specific class implementing IData. when I use a class T implementing IData, the Async returns a concrete IList<T> that cannot be casted and cannot be used as a type either lol
Just Looking for a way to have a single handle for a list/group of assets, then be able to store that handle with other, related handles to be able to dispose of them together.