The documentation is quite thin on how to use Addressables.LoadAssetsAsync ?
When using a single string as first parameter, it work the same as using Addressables.LoadAssetAsync.
So this is working:
Addressables.LoadAssetsAsync<TextAsset>
("questions",OnDownloadQuestionsCategoryComplete)
.Completed += OnDownloadQuestionsComplete;
But this is generating an exception:
Addressables.LoadAssetsAsync<TextAsset>(
new string[] {"questions"},
OnDownloadQuestionsCategoryComplete)
.Completed += OnDownloadQuestionsComplete;
The exception generated is:
ChainOperation of Type: System.Collections.Generic.IList`1[UnityEngine.TextAsset]
failed because dependent operation failed
Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=System.String[]