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
- [iOS] Back Triple Camera is not focusing manually and automatically
- Mouse inputs cannot be inputted when searching the Shortcuts Menu by type "Shortcut"
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
Add comment