Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.2.X, 2017.3.X
Votes
0
Found in
2017.1.0f3
Issue ID
945353
Regression
No
[.NET 4.6] "InternalsVisibleTo" not functioning
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment