Search Unity

Resolved AddressableAssetSettings broken when copied / cloned project

Discussion in 'Addressables' started by Noblauch, Jun 3, 2020.

  1. Noblauch

    Noblauch

    Joined:
    May 23, 2017
    Posts:
    275
    I just found out, that when you clone or copy a unity project (copy all project files excluding the folders: Library, Temp, Logs, obj) the addressable system gets broken. Meaning this should also apply to git.

    If I open the copied project on another machine I notice that the references in the Settings file is broken:
    A-Settings.png

    Also if I try to use the Play Mode Script or Build dropdown in the Addressables Group window I get a null pointer exception.
    I tried the fix described in this thread: https://forum.unity.com/threads/solved-import-addressables-settings-missing.814692/ and reimported the project multiple times to make sure the error is not on my end.

    I hope someone can help. I'm using Unity 2019.3.12f1 and Addressables 1.9.2
     
  2. ProtoTerminator

    ProtoTerminator

    Joined:
    Nov 19, 2013
    Posts:
    586
    It might be because they store some information in Library/com.unity.addressables. Try copying that folder over.
     
  3. Noblauch

    Noblauch

    Joined:
    May 23, 2017
    Posts:
    275
    Thanks, will try that tomorrow!
     
  4. Noblauch

    Noblauch

    Joined:
    May 23, 2017
    Posts:
    275
    Last edited: Jun 15, 2020