OpenBVE
OpenBVE copied to clipboard
Crash on platforms with lower .net framework version
Description
Crash and confusing error messages during the initialization of the filesystem were reported by a new user who uses Windows 7 with (speculated) .net framework 3.5. The program started and crashed without reporting insufficient .net version. It reads:
errors_filesystem_invalid
Method not found: '!!0[] System.Array.Empty()'
A few hours of time was wasted due this confusing error message, but with the help of stackoverflow eventually the problem got located, and openBVE ran normally after installing .net framework 4.6.1.
Reproduction
Uninstalling .net framework versions above 3.5 might be able to reproduce it, but it is not sure.
Related information
Windows 7 with (speculated) .net framework 3.5
Misc
As I recall .net framework would show a dialog indicating insufficient version, but in this case it didn't.