Search Unity

Auto create settings?

Discussion in 'Addressables' started by Elringus, Jul 22, 2019.

  1. Elringus

    Elringus

    Joined:
    Oct 3, 2012
    Posts:
    483
    Currently, the user is supposed to manually create addresable settings after installing the package. If the user will enter play mode without creating the settings, an exception will be logged.

    It would be much more user-friendly if you will auto-create settings after the package installation or before entering playmode.
     
  2. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    ideally we wouldn't log an exception. We used to not do that. I'll have to look into this as it should be that installing addressables does nothing if you haven't created the asset.

    The reason we don't want to create the asset is that if it exists, then we now add overhead to entering play mode because we have to build. The build won't actually build anything, but we'd still trigger it and generate catalogs (most likely catalogs that could load from Resources but nothing else). In any case, it's unneeded overhead if the user didn't actually want to use addressables.

    We'll get the exception cleaned up.
     
    Elringus likes this.
  3. Elringus

    Elringus

    Joined:
    Oct 3, 2012
    Posts:
    483
    But why would the user install the addressables package if he didn't want to use the addressables in the first place? Removing the exception would definitely help though, thanks for looking into that!