Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.2.X, 2021.1.X
Votes
3
Found in
2019.4
2020.1
2020.2
2020.2.0b9
2021.1
Issue ID
1289863
Regression
No
IL2CPP stack trace does not match MONO scripting back end when async/await is used
Reproduction steps:
1. Open the attached project ("2019Repro.zip")
2. Open the "SampleScene" scene
3. Enter Play mode and press a button in the middle
4. Open the Console window and observe the error
5. Make sure IL2CPP is set as scripting backend (Player->Other Settings->Configuration)
6. Build and Run the project as a development build
7. Press the button in the middle and observe the error in the Console
Expected result: Errors matches
Actual result: Error in the IL2CPP build is different than in the editor
Reproducible with: 2019.4.16f1, 2020.1.17f1, 2020.2.1f1, 2021.1.0a10
Could not test with: 2018.4.30f1 (Project fails with error: Multiple precompiled assemblies with the same name nunit.framework.dll)
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note (fix version 2021.2):
Fixed with 2021.2.0a3, backported to 2021.1.0b5, 2020.2.5f1, 2019.4.21f1