Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.4.X, 2020.1.X
Votes
0
Found in
2018.4
2019.2.21f1
2020.2
Issue ID
1235903
Regression
No
[Mono] ArrayTypeMismatchException is thrown when using array of generic ICollection<T>
Reproduction steps:
1. Open the attached project ("case_1235903-ArrayTypeMismatch.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Inspect Console
Expected result: No errors are thrown
Actual result: 'ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array.' exception is thrown
Reproducible with: 2018.4.23f1, 2019.3.14f1, 2020.1.0b9, 2020.2.0a11
Note: Issue is already fixed in upstream Mono version: https://github.com/mono/mono/issues/6266
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
- Buttons in the Overlay Menu in the Scene View are all gray even if they're activated when Game View is maximized and minimized
- NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Resolution Note (fix version 2020.2):
Fixed a case where ArrayTypeMismatchException was being thrown incorrectly.
Fixed in 2020.2.0a14
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0b17.4177
Resolution Note (fix version 2019.4):
Fixed in 2019.4.4f1
Resolution Note (fix version 2018.4):
Fixed in 2018.4.26f1