Steps to reproduce:
- Create a 2D URP Project
- Import the attached PSD file
- Select it in the Project Browser and in the Inspector choose the PSD Importer
- Change the "Layer Mapping" under "Layer Import" value to "Use Layer Name"
Actual results: Importer crashes with stack trace:
"0x00007FFD3BB107CA (Unity) TextureGenerator::GenerateSprites
0x00007FFD3BB0D082 (Unity) TextureGenerator::CreateTexture2DAsset
0x00007FFD3BB10FD4 (Unity) TextureGenerator::GenerateTexture
0x00007FFD3BB11A25 (Unity) TextureGenerator::GenerateTextureScripting
0x00007FFD3A3DE9B2 (Unity) TextureGenerator_CUSTOM_GenerateTextureImpl"
Reproducible with versions: 6000.2.0a7
Not reproducible with versions: 2022.3.60f1, 6000.0.43f1, 6000.1.0b12, 6000.2.0a6
Tested on (OS): Windows 11