Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.0f3
Issue ID
876430
Regression
No
TypeLoadException once a multi-dimensional-jagged array is added to a class
Steps to reproduce:
1. Open user attached project (KLRG Systems 2017)
2. Open KLRG_Behaviour.cs which is in Assets/KLRG_System/Element/KLRG_Behaviour
3. Uncomment the "Test_Behaviour[][]" and save the script
4. Observe the TypeLoadException errors
Expected result: 2 dimensional array should not cause TypeLoadExceptionErrors
Actual result: using a 2 dimensional array in an abstract class causes TypeLoadExceptionErrors
Reproduced in: 2017.1.0b3, 5.6.0p4, 5.5.3p2, 5.4.5p1, 2018.3.0a7
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
- "No GUI Implemented" is displayed when using PhysicsMask with a CustomEditor
- "Report is from another project" popup warning is shown on domain reload when Project Auditor was previously ran in a different project
- Addressables Analyzer flags duplicate resource references from ScriptableObjects incorrectly when the corresponding field has been removed
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
Resolution Note:
This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.