Search Issue Tracker
Fixed
Votes
0
Found in
5.5.0f3
Issue ID
869169
Regression
Yes
One of the method overloads receiving generic interface with 2 types is ignored and mistaken for another one
To reproduce:
Open attached project
Expected: No errors come out in console
Actual: The following error is thrown even though there is a separate overload for IGenericAction<T2,T1>
"Assets/GameCore/Editor/ActionSettingsEditor.cs(634,28): error CS1502: The best overloaded method match for `GameCore.IGenericAction<T1,T2>.AddAction(GameCore.IGenericAction)' has some invalid arguments"
"Assets/GameCore/Editor/ActionSettingsEditor.cs(634,38): error CS1503: Argument `#1' cannot convert `GameCore.IGenericAction<T2,T1>' expression to type `GameCore.IGenericAction'"
Reproduced in 5.5.0b1, 5.5.0f3, 5.6.0b3
Not reproduced in 5.4.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- Error "NullReferenceException: Object reference not set to an instance of an object" is present when loading 3D text mesh in Player from an asset bundle that is built with an older Editor version
- Text overlaps when displaying CJK and Latin characters on GameObject Label Icons
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
- [URP] Bake reflection probes option also bakes lightmaps
Add comment