Search Issue Tracker
Fixed
Votes
0
Found in
4.6.0b3
Issue ID
593340
Regression
Yes
Unity Event system does not recognize type which is derived from expected type
When an event is invoked with an instance of a subclass of the expected type, an ArgumentException is thrown:
ArgumentException: Passed argument 'args[0]' is of the wrong type. Type:<Derived Type> Expected:<Base Type>
UnityEngine.Events.BaseInvokableCall.ThrowOnInvalidArg[<Base Type>] (System.Object arg) (at C:/BuildAgent/work/afa2580bf6048259/Runtime/Export/UnityEvent.cs:65)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
Add comment