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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
This is a duplicate of issue #807575