Search Issue Tracker

Fix In Review for 14.x.x

Votes

0

Found in [Package]

12.1.3

Issue ID

1396416

Regression

No

[2D][URP] Sprite Light visuals and gizmo are wrong for sprites with a pivot that isn't at center

Package: Scriptable Render Pipeline Universal

-

[2D][URP] Sprite Light visuals and gizmo are wrong for sprites with a pivot that isn't at center

Repro steps:
- Observe the difference between Light 2D Bug and Light 2D Correct. The only difference is that the sprite has a non-centered pivot.
- Open the Light Cookie sprite that is used as a Sprite on Light 2D Correct in Sprite Editor window and edit it's pivot.
- Observe how the pivot is correct when compared to the bounds of the light (the box), but the pixels/visual of the sprite are in the wrong place. They seem to be offset such that the visuals are always centered on the pivot.

Expected result: Pixels/visual of the sprite should not always be centered on the pivot after moving pivot
Actual result: Pixels/visual of the sprite are always centered on the pivot after moving pivot

Add comment

Log in to post comment