not quite a bug but frustrating for new users...

First of all I’d like to point out that this is no way a negative criticism, but rather a genuine attempt to make unity better for new users…

I spent more time that I care to admit with this one, basically because all the post at various places were pointing at other related issues not this one.

Basically on a UI event I was attempting to drag and drop a script itself, rather than a game object.

The problem being when you do drag a script onto the on event list you don’t get any feedback and worse still you can even use a text box next to the script (with unpredictable results in the box to the left of it…

Its obvious now that what’s needed is the actual instance of a script (hence the need for the GameObject) I was quite delighted when the textbox turned into a drop down !!

I think it would be a quick and very worthwhile “fix” to throw up an alert if a user tries to throw just a script into the on event list.

I’m currently using the 2021 beta on Ununtu Linux LTS btw (and loving it!)

Whoa, never noticed that. Wow. Even does that all the way back to Unity5, which is what I have open at this second.

I think it must be a UnityEngine.Object type reference: I am actually able to drag just about ANYTHING in the Project window into the target slot of a UnityEvent. I can even drag folders, Materials, Scenes, scripts, instances of ScriptableObjects (I kind of see how that one could be useful)… nutty.

yeah ScriptableObjects (instances) could be useful but anything else other than a GameObject or SO really really should provide feedback!