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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment