Search Issue Tracker
Not Reproducible
Votes
0
Found in
Issue ID
670290
Regression
No
UnityEvent drawer does not request appropriate subtype for parameter field
Suppose you have a method like:
void SomeMethod(MyComponent c)
Adding this method to a UnityEvent in the Inspector works, but the object field shown for the argument is just of type 'Object', rather than type 'MyComponent.' This makes it awkward to wire up components as method arguments, because dragging and dropping GameObjects onto the field causes the GameObject itself to be stored as the argument rather than the component.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Parameterized Tests with ValueSource fail when supplied parameter is an System.Object
- Error Message "Broken text PPtr in file" is not informative enough to locate the problematic asset
- Duplicated items across all SerializedProperties when inserting a new element
- Crash on various stack traces when moving the splitter of the Inspector while the Editor is on the external monitor connected with USB Type-C
- LUT assets are not shown when selecting Spectral Lut with Advanced Object Selector
Add comment