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"

2D

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.