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
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
Add comment