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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
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.