Search Issue Tracker

By Design

Votes

0

Found in

2021.3.26f1

2022.3.1f1

2023.1.0b16

2023.2.0a18

Issue ID

UUM-37579

Regression

No

Sprite Packer generates artifacts at Sprite Atlas when packing a 1x1 texture

-

How to reproduce:
1. Open the user-attached project “1576081-URP Sprite Import 2021”
2. Select the “New Sprite Atlas” Asset
3. In the Inspector, under the field “Object for Packing” drag and drop “friends_cell_background_light_1x1_broken” Asset
4. Click “Pack Preview”
5. Observe the Sprite Atlas preview

Expected result: The packed Sprite Atlas has a plain color with no artifacts
Actual result: The packed Sprite Atlas has transparent artifacts

Reproducible with: 2021.3.26f1, 2022.3.1f1, 2023.1.0b16, 2023.2.0a18

Reproducible on: Windows 11 Pro, macOS Ventura 13.4 (M1)

  1. Resolution Note:

    The transparent 'artifacts' are just pixel dilation to actually prevent artefacts when rendering sprites. In the atlas texture below, the semi-transparent pixels are essentially dilated pixels (ie pixels extended along the edge of sprite). If one wants to disable this, use Alpha Dilation option in SpriteAtlas.

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.