[v1.5.0]crashed when using Addressables.LoadSceneAsync

Boot scene is InitialScene, open it and run game. you first enter the first level scene City_01, which has been added to BuildSettings. And when you scroll to end, then will load next level scene City_02 by Addressables.LoadSceneAsync, which scene is added to addressable group. And will crash now…
loading code is:

 private void LoadChapterScene(int chapterId)
        {
            var chapterConfig = _contexts.gameConfig.GetEntityWithChapterItem(chapterId);
            if (chapterConfig != null)
            {
                //LoadSceneAsync(chapterConfig.chapterItem.SceneAsset);
                _loadSceneHandle = Addressables.LoadSceneAsync(chapterConfig.chapterItem.SceneAsset);
                StartCoroutine(LoadRemoteScene());
            }
        }
private IEnumerator LoadRemoteScene()
        {
            while (!_loadSceneHandle.IsDone)
            {
                Debug.Log("LoadRemoteScene:" + _loadSceneHandle.PercentComplete);
                yield return null;
            }
        }

[solved]AssetBundle is build under iOS platform, and load in editor, incompatible format.

5301072–533574–crash editor log.txt (23.4 KB)

need some help, thanks

waiting online…

any answer?

Maybe post the console output / exception log?

crashed editor log uploaded

a little disappointed for the inactived forum

  1. did you tried with 64bit devices ?
  2. does your scene contains any animator and avatar?
    In my case it was crashing only for 32bit devices when loading something containing an avatar like characters. Addressables Team confirmed the bug so as a workaround we just load a character then set it’s avatar at runtime.

thanks for your answer. In my case, crash is caused by bundle build platform is not same as runtime platform.

1 Like

Hey @caochao88_unity , I’ve sent this post over to see if I can get a response for you!