Unity Issue Tracker - SpriteShape gizmo remains offset from the actual bounds of the shape
Closed
UUM-29647
SpriteShape gizmo remains offset from the actual bounds of the shape
Unity: 2D
Won't Fix
2020.3.X
By design, the gizmo is always located considering the transform into account. The behavior is the same with procedural mesh.
Steps to reproduce:
1. Open any Unity project
2. Ensure that the 2D SpriteShape package is installed
3. Create a new sprite shape (GameObject>2D Object>Sprite Shape>Open Shape)
4. Click Edit Spline in the Inspector
5. Move all the points of the shape away from its origin
6. Observe the purple gizmo
Expected result: the gizmo would be drawn where the center of the bounding rectangle is
Actual result: the gizmo always remains in the same place.
Note: 2020.3 differs from the rest in that it centers the active tool pivot on the gizmo. Newer versions will center on the bounds, but the gizmo remains incorrectly offset.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?