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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Add comment