Search Issue Tracker
Fixed
Fixed in 2021.3.28f1, 2022.3.2f1, 2023.1.0f1, 2023.2.0a16
Votes
0
Found in
2021.3.22f1
2022.2.15f1
2023.1.0b11
2023.2.0a10
Issue ID
UUM-32896
Regression
No
Error in the Console when switching the API Compatibility Level and using IAsyncEnumerable
How to reproduce:
1. Open the attached project “IAsyncEnumerableTest.zip“
2. Switch the API Compatibility Level from “.NET Standard” to “.NET Framework 2.1” (Project Settings > Player > Api Compatibility Level)
Expected result: No errors in the Console
Actual result: Errors in the Console
Reproducible with: 2021.3.22f1, 2022.2.15f1, 2023.1.0b11, 2023.2.0a10
Can’t test with: 2020.3.47f1 (“error CS0246: The type or namespace name 'IAsyncEnumerable<>' could not be found (are you missing a using directive or an assembly reference?)“ error)
Reproduced on: macOS 13.0.1 (Intel), Windows 10 (by reporter)
Full error: Assets/TestScript.cs(18,16): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.IAsyncEnumerable<TestScript.Test>' to 'System.Collections.Generic.IAsyncEnumerable<TestScript.ITest>'. An explicit conversion exists (are you missing a cast?)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
Add comment