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
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.
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 ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
Add comment