Search Issue Tracker
Duplicate
Votes
0
Found in
2019.4
2019.4.12f1
2020.1
2020.2
2021.1
Issue ID
1286304
Regression
No
Curves are cleared for AnimationCurves created via SerializeReferences when undoing their creation
How to reproduce:
1. Open the attached "1286304.zip" project
2. Right-click on Project window and go to Create -> Test2
3. Select the newly created asset and expand its Array element in the Inspector
4. Press "insert CustomClassB at 0" once
5. Expand the "Element 0" in the Inspector and press on the blank Curve box
6. Assign any Curve to the Element and close the window
7. Press "insert CustomClassB at 0" 4-5 times
8. Press CTRL+Z
Expected results: One element is deleted, the others have their Curve set
Actual results: One element is deleted and the others have their Curve deleted, except for the last element
Reproducible with: 2019.4.16f1, 2020.1.17f1, 2020.2.0f1, 2021.1.0a10
Could not test with: 2018.4.30f1 (SerializeReference not available)
Note:
- While in step 7, data loss can happen when creating the AnimationCurves, some might have their Curve blank
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
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
- Material Component has two horizontal lines under it when its foldouts are closed
- Some selected Mesh Renderer Materials lead to Assets folder when pinged
- Editor colors appear darkened out when HDR Display Output is enabled
- Default Mesh Renderer Material cannot be found in the Select Material window after removing it from the GameObject
This is a duplicate of issue #1311461