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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
This is a duplicate of issue #1311461