Search Issue Tracker

Fixed in 2018.1

Fixed in 2017.2, 2017.3

Votes

0

Found in

2017.1.0f3

Issue ID

945353

Regression

No

[.NET 4.6] "InternalsVisibleTo" not functioning

Mono

-

Reproduction steps:

1. Open "InternalsVisibleBug.zip" project
2. Enter Play mode
3. See that a "MethodAccessException" error was thrown
4. Switch the Scripting Runtime to .NET 3.5
5. Enter Play mode
6. See that a message "created" was outputted to the console

Fixed in: 2018.1.0b1

Expected Result: The message "created" should be outputted with the .NET 4.6 Scripting Runtime instead of the AccesException error
Actual Result: With Scripting Runtime .NET 4.6 a "MethodAccessException" error is thrown

Reproduced with: 2017.3.0a7, 2017.2.0b11, 2017.1.1p1
Did not reproduce on: 5.6.3p3 (No .NET 4.6 Scripting Runtime)

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.