Search Issue Tracker
Duplicate
Votes
0
Found in
2018.4
2018.4.12f1
2020.1
Issue ID
1198444
Regression
No
[IL2CPP] converting double to uint32 results in wrong value
How to reproduce:
1. Build the attached project with IL2CPP backend.
2. Run the player
3. Check the "UInt32Max" and "Back to Uint32" values
Actual result: The double converted to uint32 has a value of 2147483649.
Expected result: The double converted to unit32 has value of 4294967295.
Reproducible with: 2020.1.0a13, 2019.3.0b11, 2019.2.13f1, 2018.4.13f1.
Notes:
- Not reproducible with Mono.
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
This is a duplicate of issue #1186125