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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #807575