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
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Resolution Note (fix version 6000.4.0a1):
Fix for this issue is available on Unity 6000.4.0a1 and above