Search Issue Tracker
Fixed in 2017.3.0f3
Fixed in 5.6.X, 2017.1.X, 2017.2.X
Votes
0
Found in
5.6.2f1
Issue ID
936096
Regression
No
[IL2CPP] Build fails with error: Attempting to constrain a value of type 'System.Boolean modreq' to type 'System.Boolean'
To reproduce:
1. Open project attached by the user
2. Build it for iOS or Android with IL2CPP backend
Expected: Unity successfully builds the project.
Actual: Build fails: il2cpp.exe didn't catch exception: System.InvalidOperationException: Attempting to constrain a value of type 'System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile)' to type 'System.Boolean'.
Reproduced with: 5.6.3f1, 2017.1.0p2, 2017.2.0b5, 2017.3.0a1
Wasn't able to test with 5.5.0f3 because of errors.
Note: The same project builds successfully for Mac standalone.
Backported to: 2017.1.0p5, 2017.2.0b7
Fixed in: 2017.3.0b1
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
Add comment