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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.