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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.