Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4
2018.4.21f1
2020.2
Issue ID
1239628
Regression
No
RectTransform.sizeDelta is not changed when only a large number's ones digit is changed
How to reproduce:
1. Open user's attached project
2. Open "SampleScene" Scene
3. Enter Play Mode
Expected result: deltaSize.x is changed to 1499850 from 1499851
Actual result: deltaSize.x stays the same 1499851
Reproducible with: 2017.4.40f1, 2018.4.22f1, 2019.3.12f1, 2020.1.0b7, 2020.2.0a9
Note: If all of the digits are the same (for example 8888888) then it doesn't matter what is the ones digit, it will keep the first assigned number (even if the newly assigned number is 8888880). If the digits are different then it will not assign a new number if ones digit is only higher or lower by 1 than the previously assigned number.
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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Resolution Note (2020.2.X):
the code is not setting the new value and its do to the unit of least precision not meeting a predefined threshold for comparing two floats. We could change this threshold but it would just push the issue back to when the value is larger.