Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/DevDunkStudio/ShadowReceiverURP/Demo/Scenes/AdditionalLightsDemoScene.unity” Scene
3. Enter the Play Mode
4. Select UI Atlas in the Project window (Assets/Textures/UI Atlas.spriteatlasv2)
5. In the Inspector window remove “Panel5_TitleWhite” from Atlas content
6. Click Pack Preview
7. Add again “Panel5_TitleWhite“
8. Repeat step 6
Expected result: Editor does not crash and Atlas content is updated
Actual result: Editor crashes
Reproducible with: 2022.2.0b1, 2022.3.18f1, 2023.2.6f1, 2023.3.0b3
Not reproducible with: 2021.3.34f1, 2022.2.0a19
Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- Sometimes crashes after removing Texture
- Crash does not generate Stacktrace