Search Issue Tracker

Duplicate

Votes

0

Found in

2017.3.1p1

Issue ID

1020645

Regression

Yes

[iOS]Assigning a base.MethodName to a System.Action leads to calling a method of subclass instead of base class

Mono

-

To reproduce:
1. Open users attached project "Bugreport.zip"
2. Open Start.unity scene
3. Enter play mode
4. Observe the console SubClass.Foo and BaseClass.Foo are printed in the console
5. Build for iOS
6. Run the project through Xcode to an iOS device
7. Observe the Xcode console

Expected result: SubClass.Foo and BaseClass.Foo are printed in the console
Actual result: only the SubClass.Foo is printed

Reproduced on: 2017.3.1p1 2017.4.0f1 2018.1.0b13 2018.2.0a6
Not reproduced: 2017.2.2p3 2017.3.1f1 2018.2.0a9

Device: iPhone 6S Plus iOS 10.3.2

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.