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
- Custom ScriptableObject asset in the project setting are not well deserialized during the Reimport All process
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
Add comment