Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
1
Found in
2018.4
2020.2
2020.2.0a20
Issue ID
1268308
Regression
No
[Mono] ArrayTypeMismatchException is thrown when using List of generic ICollection<T>
Reproduction steps:
1. Open the attached project ("case_1268308-Mono_Co-Variance.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Press Spacebar
5. 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.26f1, 2019.4.7f1, 2020.1.2f1, 2020.2.0a20
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] 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
Resolution Note (fix version 2020.2):
Unity engine was corrupting internal mono memory.
Fixed in 2020.2.0b3
Resolution Note (fix version 2020.1):
Fixed in 2020.1.14f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.17f1