nugao
1
Unity2022.3
WebGL
Addressable 1.21.15
Hello.
I had predownload remote assets with DownloadDependenciesAsync, before load the main scene.
then I can not load assets in main scene.
I have try Addressables.LoadAssetAsync and Addressables.LoadResourceLocationsAsync to load an asset, but failed.
I get error report: "System.Exception: Unable to load dependent bundle from location ".
at last, I want to know how to load an asset.
Thanks.
nugao
2
In “Fast Mode” all fine, I can load asset with AssetReference.
When “Packed Mode” I can not load assets. But I can download remote assets with DownloadDependenciesAsync.
nugao
3
I confirm when use DownloadDependenciesAsync to download assets, the LoadAssetAsync always Failed.
Do not use DownloadDependenciesAsync, the LoadAssetAsync is all OK.
nugao
4
At last I knew, when use LoadAssetAsync to load assets, need release the AsyncOperationHandle of DownloadDependenciesAsync.