Support for AssetReference drawers

Issue #669 open
David Rochin created an issue

I think it is important that this becomes one of Odin’s features some day, as Unity’s Addressables Package is becoming more and more used by developers each day.

I’m asking for two things:

  1. To be able to use Odin’s attributes (that you can normally put over GameObject fields) on AssetReference fields. I’m talking about attributes like [AssetSelector] and [PreviewField].
  2. To be able to declare AssetReference fields without the [DrawWithUnity] attribute that we have to use right now for it to draw correctly.

An Odin’s version of the AssetReference drawer would also help, as the built in one is not really good.

Comments (13)

  1. Christopher Reimschussel

    I second this, Addressables are growing and becoming more widely used and having this kind of support would really go a long way.

  2. Kieran Newland

    I’d also like to see this implemented. AssetReferences are incredibly hard to use without some sort of filtering once the project gets bigger.

  3. Tor Esa Vestergaard
    • changed status to open

    As this is a pretty in-demand feature that we agree will be useful, we'll definitely be adding it. I am not sure it will make the 3.0.x releases, as the ideal way of implementing it would depend on features slated for 3.1 (the reason it has been delayed so long), but we will see if it makes sense to provide a partial implementation before 3.1.

  4. Tor Esa Vestergaard

    This is scheduled to be added in a broader Addressables support module during the first half of 2022.

  5. Log in to comment