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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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.