Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2017.1.X, 2017.2.X, 2017.3.X
Votes
0
Found in
2017.1.1p3
Issue ID
959791
Regression
No
[Mobile][IL2CPP][.NET 4.6] Casting decimal type to double returns incorrect value with IL2CPP and .NET 4.6
Casting decimal values to doubles results in incorrect results with IL2CPP and .NET 4.6 on iOS and Android.
Steps to reproduce:
1) Open the attached project.
2) Build for iOS or Android with IL2CPP and .NET 4.6.
3) Run on a device.
- Values are displayed on the screen.
Expected 'double0' value: 11.53...
Actual 'double0' value: -3.68...
This does not occur when .NET 3.5/2.0 is used.
Reproduced on:
2018.1.0a1 (d879bc332b13 - trunk as of 2017/10/12), 2017.1.0a6
Devices tested:
LG G3 Android 5.0
Google Nexus Android 8.0
iPod Touch 6th gen iOS 10.2.1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
Add comment