Search Issue Tracker
Fixed in 1.0.7
Votes
0
Found in [Package]
2020.2.0b2
2020.2.0b10
2021.1
Issue ID
1290279
Regression
Yes
[IL2CPP] System.InvalidOperationException: Stack empty error is thrown when building project
Reproduction steps:
1. Download and extract the attached archive "il2cpp-test.7z"
2. Edit paths in "test.cmd.sh" to point to correct directories (to Unity editor, and "Managed" folder from the archive) for your system
3. Run "test.cmd.sh"
Expected result: No errors are thrown
Actual result: "System.InvalidOperationException: Stack empty" error is thrown
Reproduces on: 2020.2.0b2, 2020.2.0b11, 2021.1.0a5
Not reproducible on: 2020.1.13f1, 2020.2.0b1
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
- Crash when total memory consumption is over 2GB
- Red dots are rendered when copying texture with ASTC format and CompressGpu
- [Linux] "Trying to load color backbuffer into a complex RenderPass setup" error is thrown after entering Play mode in AR Mobile template project
- [Android] Neither of the callbacks are called when several videos with VideoPlayer are spawned on the target on the Google Pixel devices
- Texture2D memory allocation size is significantly increased when running on iOS device
Resolution Note (fix version 1.0.7):
Fixed in: Multiplayer HLAPI 1.0.8
The IL2CPP behavior here is by design. This is invalid IL code produced by the UNet Weaver. There is a fix for the UNet Weaver code in process now.