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
- A new Additive Scene cannot be created when an empty Untitled Scene is not dirty
- [Scene View][Ubuntu] Prefab mode UI ghosting in HDRP
- Deleting AudioMixer asset throws MissingReferenceException and breaks the Audio Mixer window
- Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
This is a duplicate of issue #1311461