Bug with animation curves in packaged version

Hello, in versions 4.22 and 4.23 animation curves dissapear in packaging version, in 4.21 everything works fine

Here code

float GetCurveData(UAnimSequenceBase* AnimationSequence);

float AMyCharacter::GetCurveData(UAnimSequenceBase* AnimationSequence)
	FRawCurveTracks TestTracks = AnimationSequence->GetCurveData();
	TArray<FFloatCurve> FloatCurves = TestTracks.FloatCurves;  
return  FloatCurves.Num();;

It must return count curve tracks in animation, it works only in editor, but after packaging returns zero.

Same problem…Did you ever find a solution?