Search Issue Tracker
Duplicate
Votes
0
Found in
2021.2.0b6
2021.2.0b7
2022.1
Issue ID
1358691
Regression
No
An error is thrown when ReadOnlySpan<T> is used with .NET Standard 2.1
Reproduction steps:
1. Open the user attached project "ReadOnlySpanTest.zip"
2. Observe the Console
Expected result: There is no error
Actual result: There is the "ReadOnlySpan<T>.this[int].get' is not supported by the language" error
Reproducible with: 2021.2.0b6, 2021.2.0b9, 2022.1.0a5
Could not test with: 2019.4.29f1, 2020.3.17f1, 2021.1.18f1, 2021.2.0b5 (.NET Standard 2.1 is available from 2021.2.0b6)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1355846