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
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
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.