How to reproduce:
1. Open the attached project “IN_11563”
2. Double-click the Animation in the “FAR__CIN_020_L010” prefab
3. Navigate to the 'Curves' view in the Animation window and click on “Animator.SPEAR_01_cns ld”
4. Focus on the entire Curve by pressing 'f' while the Animation window is in focus
5. Click on the root of the “FAR__CIN_020_L010” prefab and in the Inspector set “Anim. Compression” to Optimal or Keyframe Reduction
6. Press Apply
7. Observe the Animation window
Expected result: No keyframes are removed from Curve. The shape of the Curve remains the same
Actual result: Keyframe is removed and the shape of the Curve is changed
Reproducible with: 2021.2.0a20, 2021.3.7f1, 2022.1.11f1, 2022.2.0b3, 2023.1.0a4
Not reproducible with: 2020.3.37f1, 2021.2.0a19
Reproducible on: Windows 10 Pro