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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.