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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #1311461