Search Issue Tracker
Fixed in 2021.3.25f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.2.X, 2023.2.0a6
Votes
1
Found in
2021.3.16f1
2022.2.2f1
2023.1.0a25
2023.2.0a1
Issue ID
UUM-22228
Regression
No
Mono calls wrong methods when using default interface methods
Reproduction steps:
- Open the “My Project” attached project
- Open the “SampleScene” scene
- Enter the Play Mode
- Press the button in the middle of the Game view
- Observe the text under the button
Expected result: Text says “ITestInterface.Foo“
Actual result: Text says “TestClass“
Reproducible with: 2021.3.16f1, 2022.2.2f1, 2023.1.0a25
Could not test with: 2020.3.44f1 (Default interface methods are not supported)
Reproduced on: Windows 10
Note: Not reproducible with IL2CPP. Reproducible with Mono in the Player.
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
- Diagnostics logs are missing, duplicated, or out of order when viewing Player sessions in Cloud Diagnostics
- Prefab Overrides “Apply” button is too big and overlaps with the context menu’s outline
- Prefab Overrides “No Overrides” text is too large, and the the Context Menu of the Parent GameObject has a lot of empty space when opened
- “Screen position out of view frustum...” errors are thrown when zooming out in the Scene view after creating UI GameObject
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
Resolution Note (fix version 2023.2):
Patch applied to the Unity for of Mono
https://github.com/Unity-Technologies/mono/pull/1733