Search Unity

Multiple scenes preloading problem

Discussion in 'Addressables' started by Kolyasisan, Jun 14, 2019.

  1. Kolyasisan

    Kolyasisan

    Joined:
    Feb 2, 2015
    Posts:
    397
    We've decided to try to implement addressables for scene management in our project. However, there is a problem.

    We have a system where we schedule multiple scenes to load asynchronously in a coroutine from addressables with no auto-activation.
    upload_2019-6-14_11-44-34.png

    Then, we check for all of them to be completed
    upload_2019-6-14_11-45-9.png

    after which we activate them. However, in packed mode and in builds it is impossible to preload all of the scenes. We schedule 7 scenes to preload, one of them preloads and awaits for activation. During this all of the other async operations simply don't start until the async operation is finished, e.g. when the scene is activated.
    upload_2019-6-14_11-48-27.png

    upload_2019-6-14_11-48-19.png

    The built-in Scene Activation could do this behaviour effortlessly. I feel that this may be a bug in addressables. Please clarify on this info. Thanks.
     
    Kerber996 likes this.
  2. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    sounds like a bug. Thanks for letting us know, we'll look into it.