Search Issue Tracker
Fixed in 2021.3.28f1
Fixed in 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X, 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
- “Screen position out of view frustum...” errors are thrown when zooming out in the Scene view after creating UI GameObject
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
- Crash on ExtractActiveCasterInfo when navigating the scene view in a project with specific lighting data
- Build Profile name increments when numeric suffix is removed from duplicate Profile name
- "Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded when the Player is connected and profiler recording is enabled/disabled few times
Add comment