Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.6.0b3
Issue ID
878657
Regression
No
Attempting to call IReadOnlyCollection<T> methods on T[] fails on IL2CPP
It throws an exception when trying to do so:
System.MethodAccessException: Attempt to access method 'System.Collections.Generic.IReadOnlyCollection<System.Object>.get_Count' on type 'System.String[]' failed.
Repro code:
Console.WriteLine(((IReadOnlyCollection<object>)new string[5]).Count);
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Material is left in broken state when switching from a .git branch with no HDRP to a branch that contains HDRP
- Crash on buffer_add_value_full when hovering over SerializedProperty.boxedValue in Debug Mode after ISerializationCallbackReceiver.OnAfterDeserialize modifies value
- Editor is not capitalised consistently in Preferences window
- [Linux] “Restore Defaults” warning window appears behind Profiler Modules dropdown
- [iOS] Time.deltaTime is switching between 9.998583E-06 and approximately 0.01 seconds
Add comment