How to reproduce:
1. Open the user-attached project SpriteBug
2. Open the SampleScene
3. In the toolbar click TEST → PackContentIntoBundles
4. Enter the Play Mode and click the “Reload” button
5. Click the “Load Atlases” button
6. Observe the Console
Expected result: There are no errors
Actual result: There is an error message
Reproducible with: 2021.3.18f1, 2022.1.0a6
Not reproducible: 2022.2.0a1, 2022.2.5f1, 2023.1.0b2
Couldn’t test with: 2020.3.44f1, 2021.2.0a15 (the syntax of the script is not working in this version), 2022.1.0a7-2022.1.24f1 (Package and compilation errors)
Reproducible on: Windows 11 Pro
Full error:
”Sprite Atlas : Exception triggering SpriteAtlasManager.onAtlasRegistered callback.MissingReferenceException: The object of type 'Image' has been destroyed but you are still trying to access it.”