Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.4.27f1
2020.3
2020.3.12f1
2021.1
2021.2
Issue ID
1344006
Regression
Yes
Overridden method is called when calling the base class method using a derived class delegate
Reproduction steps:
1. Open the attached project "1344006_DelegateIssue.zip"
2. On the top menu bar, open the "Test" dropdown menu
3. Click on the "Test" button, in the dropdown menu
Expected result: Only the Base class methods should be called
Actual result: Overridden method in the derived class is called instead of the base class method
Reproducible with: 2019.4.27f1, 2019.4.28f1, 2020.3.14f1, 2021.1.14f1, 2021.2.0a17
Not reproducible with: 2018.4.36f1, 2019.4.26f1, 2021.2.0a18, 2021.2.0b1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Profiler disconnects from WebGL Player when it gets clicked on in URP
- Crash on -[NSApplication _crashOnException:] when opening a specific custom Editor window
- Sprite editor does not allow creating new sprite tiles in a sprite sheet with a specific name
- Crash on block_locate_free when rendering a specific scene
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a18