in the editor, this works as well as when the dependency download is commented.
why is that?
how can i see which addressables are loaded, in the editor?
IEnumerator _OnClickButton()
{
// var loadDependenciesAsync = UnityEngine.AddressableAssets.Addressables.DownloadDependenciesAsync(sceneToLoad);
// yield return loadDependenciesAsync;
var loadAsync = sceneToLoad.LoadSceneAsync(LoadSceneMode.Additive);
loadAsync.Completed += LoadComplete;
// update loadProgress for the UI
while (!loadAsync.IsDone)
{
loadProgress = loadAsync.PercentComplete;
yield return null;
}
}