Search Issue Tracker

Duplicate

Votes

0

Found in

2017.2.0f3

Issue ID

960366

Regression

Yes

TypeLoadException error when referencing a script with a very long array on .NET 4.6

Mono

-

Steps to reproduce:
1.Open attached “TypeLoadException.zip" Unity project
2.Open “Test” scene
3.Enter Play mode

Expected results:
Array value is printed in Console
Actual results:
TypeLoadException error appears

Reproduced in: 2018.1.0a1, 2017.3.0b5, 2017.2.0f3, 2017.2.0b8, 2017.2.0b2
Didn’t reproduce in: 2017.2.0b1, 2017.2.0a4, 2017.2.0a1, 2017.1.0b1
Regression introduced in: 2017.2.0b2

Note: Works on .NET 3.5

Error:
TypeLoadException: Failure has occurred while loading a type.
Rethrow as TypeInitializationException: The type initializer for 'FixMath.NET.Fixed64Lut' threw an exception.

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.