Search Issue Tracker
Won't Fix
Unknown (hidden) 2020.3.X, 2021.3.X, 2022.1.X, 2022.2.X
Votes
2
Found in
2020.3.34f1
2021.3.5f1
2022.1.7f1
2022.2.0a13
Issue ID
UUM-2318
Regression
No
Undo does not set assets dirty when using ISerializationCallbackReceiver
How to reproduce:
1. Open user-submitted project (undo bug.zip)
2. Right-click the Project window and select Create > My Asset
3. Open this asset via a Text Editor, note that myList is empty
4. In the Editor, select the asset and click 'Add Entry with Undo' or 'Add Entry with Complete Undo'
5. Select File > Save Project
6. Open the Asset in the Text Editor again
Expected result: myList has been updated
Actual result: myList is still empty; restarting the Editor would cause the loss of this data
Reproducible with: 2017.4.40f1, 2018.4.22f1, 2019.3.11f1, 2020.1.0b8, 2020.2.0a8
Notes:
Using the 'Add Entry with Undo and SetDirty' option dirties the Asset correctly and saves changes
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
Resolution Note:
Low impact issue with very few users impacted