Search Issue Tracker

Fixed

Fixed in 2022.3.20f1

Votes

0

Found in

2022.3.19f1

Issue ID

UUM-77672

Regression

No

Crash on GenerateTextureAndSpriteRectDataFromAtlasMask when exiting Play Mode and saving changes made to a Sprite Atlas during Play Mode

--

-

Steps to reproduce:
1. Open the “user’s attached project”
2. Open the “SampleScene”
3. Select the “Assets/Ground” Sprite Atlas through the Project window
4. Enable “Tight Packing” and change “Padding” to 4 through the Inspector
5. Enter Play Mode
6. Disable “Tight Packing” and change “Padding” to 2 through the Inspector
7. Exit Play Mode and in the “Inspector - Unsaved Changes Detected” popup select “Save”
8. Observe the crash

Reproducible with versions: 2022.3.19f1
Not reproducible with versions: 2021.3.42f1, 2022.3.41f1, 6000.0.14f1
Fixed in versions: 2022.3.20f1

Reproducible on: macOS Sonoma 14.5 (Intel)
Not reproducible on: no other environment tested

First few lines of StackTrace:

{noformat}0x00007ff69c24173a (Unity) GenerateTextureAndSpriteRectDataFromAtlasMask
0x00007ff69c22e5f8 (Unity) PackAtlases
0x00007ff69c221cab (Unity) SpriteAtlasImporter::GenerateAssetData
0x00007ff69ca3f7eb (Unity) ImportToObjects
0x00007ff69ca3e89c (Unity) ImportAsset{noformat}

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.