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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2021.2):
Fixed with 2021.2.0a3, backported to 2021.1.0b5, 2020.2.5f1, 2019.4.21f1