Search Issue Tracker

Active

Votes

0

Found in

6000.0.57f1

6000.1.16f1

6000.2.3f1

6000.3.0b1

Issue ID

UUM-116057

Regression

No

Assertion error "(dx - width < padding) || (dy - height < padding)" when using Pack Preview

-

Steps to reproduce:
1. Open the “IN-114248” project
2. Select the “TestSprite” Sprite Atlas in the “Assets/Sprites/avatar.atlas.default.eyeshape.round_plain/main” folder
3. Go to the inspector and under the Show Platform Settings For section, select any platform
4. Change the Format property field value to something else
5. Go to the Objects For Packing section and press the Pack Preview button

Expected result: No errors
Actual result: Switching between different file formats and performing a packing preview generates an "Assertion failed on expression: '(dx - width < padding) || (dy - height < padding)'“ assertion error

Reproducible with: 6000.0.57f1, 6000.1.16f1, 6000.2.3f1, 6000.3.0b1

Testing environment: macOS 15.6.1 (M4 Pro), Windows 11 (by user)
Not reproducible on: No other environment tested

Notes:
- Reproducible with both Sprite Atlas V2 and V1
- Sometimes it takes multiple times to go through 4-5 steps to reproduce the issue
- Tested with macOS, Android, and iOS platforms

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.