Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Can't drag multiple addressables to an array/list field in the inspector

Discussion in 'Addressables' started by Laiken, Dec 21, 2020.

  1. Laiken

    Laiken

    Joined:
    Nov 18, 2015
    Posts:
    50
    If I do this:
    Code (CSharp):
    1. [SerializeField] List<AssetReference> myARs;
    Or this:
    Code (CSharp):
    1. [SerializeField] AssetReference[] myARs;
    I can't drag multiple items at once to them in the inspector, like I can when using normal non-AssetReference assets.

    *Tested with 1.8.5 and 1.16.15. Unity version: 2020.1.3f1
     
    Last edited: Dec 21, 2020
    ryan-at-melcher likes this.
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,795
  3. Laiken

    Laiken

    Joined:
    Nov 18, 2015
    Posts:
    50
    TreyK-47 likes this.
  4. zachlindblad

    zachlindblad

    Joined:
    Sep 29, 2016
    Posts:
    39
    Still seems to be the case, Unity 2020.3.36f1, addressables 1.19.19
     
  5. Laiken

    Laiken

    Joined:
    Nov 18, 2015
    Posts:
    50
    On the ticket they said it was not a bug. They said it was a lack of feature, so it has low priority.

    edit: I remembered it wrong. I read the email again and they didn't say that.
     
    Last edited: Jul 19, 2022
  6. pillakirsten

    pillakirsten

    Unity Technologies

    Joined:
    May 22, 2019
    Posts:
    346
    Hi all I can't seem to find ticket mentioned, but the multi-AssetReference drag feature was added in 1.20.0
    "Fixed issue where multiple AssetReferences could not be dragged and dropped to a list or array."
     
    Laiken and zachlindblad like this.
  7. Laiken

    Laiken

    Joined:
    Nov 18, 2015
    Posts:
    50
    That's awesome!
    The person that answered my ticket gave me this link
    https://issuetracker.unity3d.com/is...y-trough-inspector-when-dragging-and-dropping
    it's not about dragging multiple AssetReferences but it's related.
     
    Last edited: Jul 19, 2022
  8. pillakirsten

    pillakirsten

    Unity Technologies

    Joined:
    May 22, 2019
    Posts:
    346
    @Laiken Thanks I suppose since this an old ticket it was not possible to implement at the time, hence the "postponed" status. Will make a note of this!
     
  9. goodnewsjimdotcom

    goodnewsjimdotcom

    Joined:
    May 24, 2017
    Posts:
    342
    This is yet again, another known bug in the incredibly buggy mess known as addresables. I forget the work around.

    Unity touts addressables like it is high tech, but flash had it in 2007 and wasn't boasting, and they worked in Flash/Actionscript