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
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
Add comment