Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2018.4.X, 2019.2.X, 2019.3.X
Votes
24
Found in
2018.4.8f1
2019.2.6f1
2019.3.0b4
2020.1.0a5
Issue ID
1186125
Regression
Yes
[IL2CPP] Double and float number values are different when uint is casted on them
How to reproduce:
1. Open attached project ("Broken_il2cpp.zip")
2. Open Build Settings window (File->Build Settings...)
3. Open Player Settings window (bottom left button in Build Settings window)
4. In Player Settings window select IL2CPP scripting backend
5. In Build Settings click Build And Run
Expected result: In-game printed double and float values before and after the cast are the same
Actual result: In-game printed double and float values before and after the cast are different
Reproducible with: 2018.4.10f1, 2019.2.7f2, 2019.3.0b5, 2020.1.0a7
Not reproducible with: 2017.4.32f1, 2018.4.7f1, 2019.2.5f1, 2019.3.0b3, 2020.1.0a4
Comments (1)
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
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
milan_Inzaghi
Oct 23, 2019 03:31
double L_4 = LuaDLL_luaL_checknumber_mE19A440F705FB6F77196235AF50F9D9CCD7F0E7D((intptr_t)L_3, 2, /*hidden argument*/NULL);
V_1 = (((int32_t)((uint32_t)(int32_t)L_4)));