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
- Addressable bundles are not retrieved from the cache when a WebGL Player is refreshed
- Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
- CPU usage is increased when the Editor is idle with the ProBuilder Package installed
- Unstable lighting when additional light sources are added in Shader Graph nodes
- AnalyticsSessionInfo.sessionFirstRun value is not affected when the corresponding data file is removed
Add comment