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