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
- Sprite Atlas results in suboptimal packing even when "Allow Rotation" is enabled
- References placed in a UnityEvent change to the same reference when multi-selecting their GameObjects
- "ShadowCaster2D" Component doesn't work when the "Casting Source" is set to "Polygon Collider 2D"
- Warning “CommandBuffer: built-in render texture type 3 not found while executing (SetRenderTarget depth buffer)“ is present when opening a specific URP project
- GameObjects are transparent when a custom fog renderer feature is enabled
Add comment