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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #807575