Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug AssetReference can't be drag and dropped on the variable name

Discussion in '2020.2 Beta' started by laurentlavigne, Sep 29, 2020.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,222
    EDIT: this only happens with AssetReference so it's probably an addressable bug

    variable name

    public List<Object> obs;
    drag and drop an object on obs
    before = add a new item to obs
    now = nothing

    why it's important:
    1. muscle memory, even if it can be overriden with [] that would force a choice between ordering and muscle memory, losing what is announced as an upgrade
    2. avoiding software decay

    solution:
    turn drop on variable name into add function

    logged as 1281221

    regression - cant drop add.gif
     
    Last edited: Sep 29, 2020
    Garrettec likes this.
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,589
    This is not a regression as far as I can tell. It never used to work with an AssetReference array/list, or to be more precise, it also doesn't work with Unity 2018.4.
     
    laurentlavigne likes this.
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,222
    you're right! i forgot about this, i'll retitle and edit
    and yes it works with lights array so all is good
     
    Peter77 likes this.
  4. Garrettec

    Garrettec

    Joined:
    Nov 26, 2012
    Posts:
    98
    > Sep 29, 2020
    Wow, more than a year have past and still not possible to drop a set of addressable objects to the list/array of
    AssetReferences... (2021.2.5f1, Addressables package 1.19.13)

    Probably Unity keep this feature for another loud announcement :)
     
  5. Troutmonkey

    Troutmonkey

    Joined:
    Jun 11, 2014
    Posts:
    7
    2022 and still doesn't work :)
     
  6. Garrettec

    Garrettec

    Joined:
    Nov 26, 2012
    Posts:
    98
    It seems Unity gave up finishing all the started instruments. Addressables, Input module, proper UI. They just rushing to announce more and more new features, which will also never be finished and be ready to use without tons of workarounds and manual labor...