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
- Crash on nvoglv64.dll when opening a project
- [RenderGraph] [CameraStacking] Passes are failing when CameraStacking and RG are enabled
- Physics and Raycast have different behavior when enum is exposed in the Editor
- TextField's text is mixed up and overlapping when "Noto Sans-Display" font is used
- TutorialManager Warnings are thrown when creating Test Track, LEGO or 2D Platform microgame template projects
Add comment