Search Unity

[SOLVED] Import Addressables Settings - Missing

Discussion in 'Addressables' started by skwsk8, Jan 23, 2020.

  1. skwsk8

    skwsk8

    Joined:
    Jul 6, 2014
    Posts:
    20
    Anyone know how to select an existing AddressablesAssetSettings.asset ? On the Addressables Groups tab there used to be an "Import Addressables Settings" button, but now (1.5.0) it's missing, which is a *blocking issue* for one of the projects as we have shared streams between a couple projects and they share the same addressable assets.

    Unity devs, if this was intentionally removed, can we have it back, please? Or say where we can modify the location in the underlying files? Thanks!

     
  2. skwsk8

    skwsk8

    Joined:
    Jul 6, 2014
    Posts:
    20
  3. wirelessdreamer

    wirelessdreamer

    Joined:
    Apr 13, 2016
    Posts:
    107
    skwsk8 likes this.
  4. skwsk8

    skwsk8

    Joined:
    Jul 6, 2014
    Posts:
    20
    For anyone who may stumble upon this:
    Found out that the functionality was dropped and there currently aren't any plans of it returning. I was given a thread of code to pull upon and discovered a workaround.

    SOLUTION:
    Take the guid from ProjectSettings/EditorBuildSettings.asset file in line 12 from the project in which the addressables were created
    Code (CSharp):
    1.     com.unity.addressableassets: {fileID: 11400000, guid: 39a0bdbclmo3n14g5aafb0b3e991d9ba,
    and set that guid in the other project's ProjectSettings/EditorBuildSettings.asset line 12. Do this with the editor closed.

    Also worth noting is that the AddressableAssetsData folder and contents (including guids) must be exactly the same between projects, and the actual addressable asset references have the same relative path from the main Assets folder.
     
unityunity