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
- UI Builder Viewport is rendered in solid black and ArgumentOutOfRangeException is thrown when zooming in
- Game view renders yellow color when using RenderTexture.autoGenerateMips with DX12
- The "Multiplayer Widgets" package is displayed as an option for the installation even though it is already installed
- "IMGUIContainer cannot be used in a panel drawn by cameras." error thrown when adding IMGUI Container in UI Builder > Hierarchy
- Crash on GameObject::RemoveComponentFromGameObjectInternal when opening a specific project
Add comment