Search Issue Tracker

Fixed in Unity 2018.2

Votes

0

Found in

2017.3.0f3

Issue ID

985462

Regression

No

[.NET 4.6] Type.GetInterface does not find the specified interface on .NET 4.6

Mono

-

-

Priority: 5Not yet prioritized for a release

-

Severity: 3Secondary functionality broken

Steps to reproduce:
1. Open attached “GetInterface.zip” Unity project
2. Open scene “Main”
3. Enter Play mode
4. Observe Console window

Expected results:
Type.GetInterface returns the specified interface and “Using GetInterface: ’True’” is printed
Actual results:
Type.GetInterface returns null and “Using GetInterface: ’False’” is printed

Reproduced in: 2018.2.0a1, 2018.1.0b2, 2017.3.0p1, 2017.2.1p2, 2017.1.3f1, 2017.1.0b1

Note: Works as expected on .NET 3.5

Fixed in: 2018.2.0a6, 2018.1.0b12

All about bugs

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