Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.62f1
6000.0.48f1
6000.1.3f1
6000.2.0b1
Issue ID
UUM-104856
Regression
No
Sprite Atlas results in suboptimal packing even when "Allow Rotation" is enabled
Reproduction steps:
1. Open the attached “IN-101032.zip” project
2. Right-click in the Project Window
3. Click Create > 2D > Sprite Atlas
4. Select the newly created Atlas
5. In the Inspector, change the “Max Texture Size” to “1024”
6. Expand the “Objects for Packing” tab and press the + symbol
7. Select the “Sprites” folder to add it to the list
8. Click “Pack Preview”
9. Observe the Atlas Preview
Expected result: The Sprite Atlas has one page
Actual result: The Sprite Atlas has two pages
Reproducible with: 2022.1.0a1, 2022.3.62f1, 6000.0.48f1, 6000.1.3f1, 6000.2.0b1
Reproducible on: Windows 11
Not reproducible on: no other environment tested
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
By design, SpriteAtlas uses a combination of Best-Fit and Random-Fit to ensure there is a balance of optimal and fast packing of Sprites to Atlas. Therefore perfect packing may not be possible on all cases.
In these cases, please use Scriptable Packer to customize packing.
Please take a look at :
https://docs.unity3d.com/6000.0/Documentation/ScriptReference/U2D.ScriptablePacker.html
Thanks.