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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.