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
- Nested Canvases with the same Order in Layer ignore Z position for render order when sharing parent Canvas
- ShaderGraph Material subasset loses texture reference when reimporting all assets while using a scripted importer
- Values changed on a prefab are not retained when entering Play Mode
- Shadow Caster 2D shadows partially disappear in specific spots when used with Composite Collider 2D in the Game view
- Hierarchy and Library parts in UI Builder are inaccessible when UI Builder window is resized and these elements no longer fit in the window
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.