Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.2.X, 2017.3.X
Votes
0
Found in
2017.1.1f1
Issue ID
957072
Regression
No
Lack of user-visible error when getting TypeLoadException due to unsupported StructLayout using Generics in mono .Net 4.6
Steps to reproduce:
1. Open attached project
2. Open "demo" scene
3. Enter play mode
Expected result: use of unsupported StructLayout using Generics should output a reasonable error message with information
Actual result: TypeLoadException with no information is thrown
Reproducible with: 2017.1.2f1, 2017.2.0f3, 2017.3.0b4
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
- ADB PRovider is really slow
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
StarFluke
Jan 27, 2018 01:03
Verified fix in 2018.1b4
StarFluke
Jan 26, 2018 21:07
What release is this fixed in?
StarFluke
Jan 26, 2018 21:06
Reproduced in 2017.3.0f3 with plugin code that uses a generic hierarchy.
e.g. class FromBase<I> excepts in Base<I> static constructor:
_zero = new I { INIT_ID = 0 };