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
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment