Search Issue Tracker

Not Reproducible

Votes

0

Found in

4.6.0b3

Issue ID

594435

Regression

No

UnityEvent doesn't handle inheritance in method arguments

2D

-

To reproduce:
1) Open the attached project
2) Load infectionUI.unity
3) Click play
4) Click 'Video'
5) Observe in the console that an ArgumentException has been thrown; Unity is trying to call a method that expects a MenuController, but it is being passed a VideoOptionsMenuController. This should be valid because VideoOptionsMenuController is derived from MenuController.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.