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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
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.