Search Issue Tracker
By Design
Votes
0
Found in
2017.1.0f3
Issue ID
1037399
Regression
No
Integers near their max value become negative when used in [Range (0, int.MaxValue) ]
How to reproduce:
1. Open attached project "MaxValueBug.zip" and scene "SampleScene"
2. In Hierarchy window, select "Main Camera" object
3. In Inspector window, "New Behaviour Script (Script)" component, use slider to change value to the maximum
Expected result: the slider value increases to a positive number
Actual result: the slider value increases to a negative number
Reproducible with: 2017.1.4f1, 2017.2.3f1, 2017.4.3f1, 2018.1.2f1, 2018.1.2f1
Note: the highest integer number that can be used in [Range()] which still works and remains positive is 2147483583
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
Add comment