Search Issue Tracker

Fixed

Votes

0

Found in [Package]

8.0.0

Issue ID

1413306

Regression

Yes

"SerializedObject target has been destroyed." is thrown when discarding changes made on SpriteLibraryAsset

Package: 2D Animation

-

How to reproduce:
1. Open the attached "case_1413306" project
2. Select any SpriteLibraryAsset under "Assets -> Sprite Library" directory in the Project Browser
3. Make some changes on the selected asset in the Inspector
4. Select any other SpriteLibraryAsset with discarding (reverting) the earlier-done changes

Expected result: Changes done earlier are discarded without any abnormal behaviour
Actual result: Changes are discarded with "SerializedObject target has been destroyed." thrown in the Console log

Reproducible with: 8.0.0, 8.0.1 (2022.2.0a6, 2022.2.0a11)
Not reproducible with: 7.0.4, 8.0.1 (2021.3.1f1, 2022.1.0f1, 2022.2.0a5)
Couldn't test with: 3.2.17, 5.2.0 (2019.4.38f1, 2020.3.34f1) (downgrading-related errors are thrown)

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.