Search Unity

Feedback (Case 1173674) Unable to remove addressable entry from group

Discussion in 'Addressables' started by AlkisFortuneFish, Aug 1, 2019.

  1. AlkisFortuneFish

    AlkisFortuneFish

    Joined:
    Apr 26, 2013
    Posts:
    973
    As the bug report states, the Addressables EditorWindow currently NullRefs every time you try to remove an item from a group. The bug report itself contains extensive information about the exact piece of code responsible for this and what the fix is. @unity_bill @PaulBurslem

    If anyone needs to work around it, what you need to do is:

    Edit AddressableAssetEntryTreeView.RemoveEntry():

    Move `m_Editor.settings.RemoveAssetEntry(item.entry.guid, false);` to be called *after* `modifiedGroups.Add(item.entry.parentGroup);`.
    RemoveAssetEntry() sets parentGroup to null, causing the group SetDirty() loop to fail.
     
    Last edited: Aug 1, 2019
  2. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    Thanks for the post, we've got this fixed in the upcoming release.