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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment