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
- Physics SyncColliders 3x-7x performance regression from 2022LTS to U6
- ListView's '+' button causes a recursively dispatching event when the visual element area is filled up
- Soft keyboard closes immediately after multiple touches are made if Pointer Behavior is set to SingleUnifiedPointer
- UI Image batching breaks when interleaving elements with mixed z-positions and materials
- KeyNotFoundException is thrown when retrieving some values from HyperLinkClickedEventArgs
Add comment