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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
This is a duplicate of issue #807575