Search Issue Tracker

Active

Votes

0

Found in

2020.3.48f1

2022.2.21f1

2023.1.0b19

2023.2.0a17

Issue ID

UUM-36919

Regression

Yes

Sprite Preview is broken when the Sprite is too tall or too wide

--

-

How to reproduce:
1. Open the attached "repro_IN-41957.zip" project
2. In the Project window, select the "plant", "plant90", "wand" or "wand90" Asset (make sure it's the Sprite and not the Texture 2D)
3. In the Inspector, expand the Preview window
4. Widen and narrow the Preview window

Expected result: The image and the aspect ratio of the Sprite in the Preview window are displayed correctly
Actual result: The image and the aspect ratio of the Sprite in the Preview window breaks after a certain amount of Preview window narrowness is reached

Reproduced with: 2020.3.48f1, 2021.2.0a2, 2022.2.0a9, 2022.2.21f1, 2023.1.0b19, 2023.2.0a17
Not reproduced with: 2021.3.26f1, 2022.2.0a8
Fixed in: 2021.2.0a4
Could not test with: 2021.2.0a3 - Crash

Reproduced on: Windows 10

Notes:
* The issue doesn't occur for Texture 2D Preview and happens only with the Sprite Preview
* The issue doesn’t occur with the “tree“ Asset
* With some Sprites (i.e. “wand“ and “wand90“), the image in the Preview window is instantly broken - you don’t even need to narrow the Preview window
* If you widen the Preview window of the “wand90“ Asset enough, it displays correctly

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.