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
- Terms of Service agreement checkbox is invisible under specific OS system themes (UI Accessibility)
- Tile Palette: "Create New Tilemap" dropdown area is displayed in several colors
- Input.mousePosition stops syncing to touch input when using "DownloadHandlerTexture" in WebGL build
- UI Builder canvas doesn't update element styling accordingly when changing Active Theme for some Editor Authoring elements
- Selector Value buttons are not aligned with parameters in UI Builder
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.