Search Issue Tracker
Fixed
Fixed in 6000.0.61f1, 6000.3.0b8, 6000.4.0a1
Votes
1
Found in
6000.0.57f1
6000.2.3f1
6000.3.0b1
6000.4.0a1
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 6000.4.0a1):
Fix for this issue is available on Unity 6000.4.0a1 and above