Search Unity

InitializeAsync takes long when offline

Discussion in 'Addressables' started by inyman, Mar 23, 2020.

  1. inyman

    inyman

    Joined:
    Oct 24, 2015
    Posts:
    9
    When i try to initialize addressable system while in airplane mode it takes couple of minutes to get through this step.

    This is what i have in the initialize step of my game

    Code (CSharp):
    1. await Addressables.InitializeAsync().Task;
    Any ideas ?
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,822
    I'll forward this to the team to have a look. Which version of Addressables and the editor are you using?
     
  3. inyman

    inyman

    Joined:
    Oct 24, 2015
    Posts:
    9
    @TreyK-47 Nice, i got this behavior on both Addressables 1.6.2 and the latest 1.7.4

    Unity 2019.3.5.f1
     
  4. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,822
  5. inyman

    inyman

    Joined:
    Oct 24, 2015
    Posts:
    9
    @TreyK-47 Ok i figured out that the issue was because i was keeping a "Build remote config" on. I don't need this in this project and after removing it it works as expected