Search Issue Tracker

By Design

Votes

0

Found in

2021.3.27f1

2022.3.3f1

2023.1.1f1

2023.2.0a20

Issue ID

UUM-40994

Regression

No

SpriteAtlas Inspector Preview panel does not update page controls when page count changes

--

-

Reproduction steps:
1. Open the attached project “SpriteAtlasPages”
2. In the Project window select the Sprite Atlas “Assets/New Sprite Atlas.spriteatlasv2” and lock it in the Inspector
3. In the Inspector, under Objects for Packing, select the “unnamed 8” and remove it
4. Click on the Pack Preview button
5. Add Sprites “Assets/unnamed 8.jpg” and “Assets/unnamed 9.jpg” to the Objects for Packing list
6. Repeat step 4
7. Observe the Preview window

Expected result: The preview window area header gets a new control to view the pages of the atlas
Actual result: The preview updates but the control is missing

Reproducible with: 2021.3.27f1, 2022.3.3f1, 2023.1.1f1, 2023.2.0a20

Reproducible on: Windows 10

Notes:
Pack Preview has to be pressed once before changing the page count to reproduce the issue
Workaround - save the project before selecting the Pack Preview button (doesn’t seem to work with 2021.3.27f1)
If steps 3 and 4 are skipped, removing “unnamed 9” and clicking on the Pack Preview button (after all steps), will not show the preview window
If there are enough sprites for 3 pages, removing sprites until 2 pages are left, will make the second page to be blank and third to be filled

  1. Resolution Note:

    Project is using SpriteAtlasV2 asset but the Editor Settings is set to V1. Hence the issue. Kindly ensure Asset Type is compatible with Editor Settings.

    V1 and V2 cannot be used together in the same project.

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.