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

If I do this:

[SerializeField] List<AssetReference> myARs;

Or this:

[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

1 Like

Thanks for flagging. If you haven’t done so yet, could you file a bug report for us?

You’re welcome. Will do.

1 Like

Still seems to be the case, Unity 2020.3.36f1, addressables 1.19.19

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.

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.”

2 Likes

That’s awesome!
The person that answered my ticket gave me this link
https://issuetracker.unity3d.com/issues/addressables-asset-reference-is-not-added-to-an-array-trough-inspector-when-dragging-and-dropping
it’s not about dragging multiple AssetReferences but it’s related.

@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!

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

Yep, two years later and still have this bug. Not even surprised anymore.

1 Like

It’s not really a bug; it’s a lack of a feature as has been noted multiple times previously in this thread. In fact it has nothing to do with addressables but the way Unity’s inspectors work.

The fact that it is not a bug and instead a lack of feature is even worse. Unity decided not to implement such a basic feature such as dragging multiple asset references to an inspector array. Oh, but its fine because like you said we can just make our own editor scripts to fill in for basic features Unity refuses to implement. In fact,I think Unity, the software we pay for, shouldn’t even add any more features. We should just make our own editor scripts.