Search Issue Tracker

Won't Fix

Votes

0

Found in

2020.3.43f1

Issue ID

UUM-29647

Regression

No

SpriteShape gizmo remains offset from the actual bounds of the shape

-

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.

Reproducible with: 2020.3.43f1, 2021.3.15f1, 2022.2.11f1, 2023.1.0b8, 2023.2.0a6

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.

  1. Resolution Note:

    By design, the gizmo is always located considering the transform into account. The behavior is the same with procedural mesh.

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.