Search Issue Tracker
Fixed in 5.2.0
Votes
0
Found in
4.6.0f1
Issue ID
645810
Regression
Yes
Custom Pivot coordinates have "NaN"-value if Width or Height set to "0"
Custom Pivot coordinates have "NaN"-value if Width or Height set to "0"
2) How can we reproduce it using the example you attached
1 Create new project
2 Import some image
3 Make it Sprite (set Texture Type to Sprite) in Inspector
4 Set Sprite mode to Multiple
5 Open Sprite Editor
6 Create some sprite and set Width or Height to "0"
Actual result: Custom Pivot coordinates have "NaN"-value (see attached image)
Expected result: minimum Width or Height should never be 0
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment