Search Issue Tracker

By Design

Votes

0

Found in

2021.3.34f1

2022.3.17f1

2023.2.6f1

2023.3.0b3

Issue ID

UUM-60253

Regression

No

Sprite Atlas Preview does not pack some of the textures that have a resolution size small enough to fit

--

-

Reproduction steps:
1. Open the attached “Test VP8.zip“ project
2. Select 4096 as Max Texture Size in “UI Atlas” Sprite Atlas
3. Press the “Pack Preview” button and observe the generated Preview window

Expected result: All textures that could be fit into the selected Max Texture Size are rendered in the Preview window
Actual result: Some textures that could be fit into the selected Max Texture Size are not rendered in the Preview window

Reproducible with: 2021.3.34f1, 2022.3.17f1, 2023.2.6f1, 2023.3.0b3

Reproduced on: Windows 11 Pro, macOS Sonoma 14.1.1 (Intel)
Not reproduced on: No other environment tested

  1. Resolution Note:

    This packing behavior is intended, when packing exceeds more than 1 page, subsequent sprites are packed such that the last page is tried first (as this is created anyway) to the first to ensure
    1. Faster packing, it does not have to check the mostly full first page each time for available space
    2. Uniform distribution.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.