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
- Object Picker window breaks when it is interrupted by a domain reload
- Invalid GameObjects are created in the Hierarchy when removing a nested GameObject's parent by replacing a Prefab variant
- Camera.allCameras returns cameras from all loaded Scenes when using multi-Scene setup
- Camera.layerCullDistances has no effect when GPU Resident Drawer is enabled
- ARM64 and ARMv7 APKs return the same version code when "Split APKs by target architecture" is enabled
Resolution Note (fix version 6000.4.0a1):
Fix for this issue is available on Unity 6000.4.0a1 and above