Description

AnimCurveCompressionSettings's codec is reset to CompressedRichCurve when user open the project, so user can not keep the state changed to UniformlySampled.

The following code in the constructor of UAnimCurveCompressionSettings is the cause of this issue. This code is for fixing [Link Removed].

UAnimCurveCompressionSettings::UAnimCurveCompressionSettings(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
Codec = CreateDefaultSubobject<UAnimCurveCompressionCodec_CompressedRichCurve>    (TEXT("CurveCompressionCodec"));
Codec->SetFlags(RF_Transactional);
}

Perhaps this issue is also related to [Link Removed]. We should be careful that [Link Removed] does not recurse when fix this issue.

Steps to Reproduce
  1. Create AnimCurveCompressionSettings asset
  2. Change the codec type to UniformlySampled
  3. Save the asset
  4. Restart the project
  5. Open the asset

expect : the codec type is UniformlySampled
result : the codec is CompressedRichCurve ( reseted )

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-74873 in the post.

0
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.22.1
Target Fix4.23
Fix Commit8041601
Main Commit8041602
Release Commit8041601
CreatedMay 21, 2019
ResolvedAug 14, 2019
UpdatedMay 18, 2020