Currently have a bunch of Addressable AssetBundles that is available from a remote location that contains a few scenes. I can load the scenes just fine using Addressables.LoadSceneAsync(IResourceLocation)
and I see the caching and everything else working as intended.
What I wanted to do now is Download the Dependencies using the same IResourceLocation before I actually switch to the scene and give the user some visual indication. In order to do so I have tried to do Addressables.DownloadDependenciesAsync(IResourceLocation.Dependencies)
and then check the progress of that. The process is always immediately finished with the status Succeeded. When I debug the Dependecies I see it contains valid addresseses to the remote location. If I check the Downloadsize before trying to download the Dependecies, then it reports 0.
I have tried clearing the locally cached bundles so that I am sure that I do not have the bundles locally stored. I am even sure of this, as whenever I then try to LoadSceneAsync using the same IResourceLocation, then it actually starts downloading the needed dependencies.
Am I using the Addressables.DownloadDependenciesAsync(IResourceLocation.Dependencies)
wrongly? I can’t find any demo samples on the GitHub repository and the docs. seems to indicate that I am doing it right? I am testing from Editor with Using Existing Build option and Addressables 1.8.3