Hi
I am downloading and loading my scenes, as remote asset bundles.
The code I am using is
IEnumerator sceneDownload(AsyncOperationHandle asyncOp)
{
loadingPanel.SetActive(true);
while (!asyncOp.IsDone)
{
float downloadPercentage = (asyncOp.GetDownloadStatus().Percent);
Debug.Log(downloadPercentage);
slider.value = downloadPercentage;
yield return null;
}
string downloadError = GetDownloadError(asyncOp);
if (!string.IsNullOrEmpty(downloadError))
{
StartCoroutine(DisplayNetErrorMessage());
yield break;
}
Addressables.LoadSceneAsync(Scene,LoadSceneMode.Single).Completed +=SceneLoadCompleted;
loadingPanel.SetActive(false);
yield return null;
}
This seems to work perfectly on Android 12.
I downloaded the app in Android 11 and sometimes the asset bundle download gets stuck to random point. I am getting no error at all or any exception, it just gets stuck to a random point. I have noticed that sometimes it can continue after a long period.