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 GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Add comment