Description

In non-editor builds UAnimInstance::GetInstanceTransitionTimeElapsed always returns 0.0f.

 

This is caused within FAnimNode_StateMachine::Update_AnyThread due to:

#if WITH_EDITORONLY_DATA
 NewTransition->SourceTransitionIndices = PotentialTransition.SourceTransitionIndices;
#endif

These wrappings around SourceTransitionIndices were removed in 4.13(CL 3082579) for UE-29180, however this instance seems to have been missed.

 

Steps to Reproduce

Call UAnimInstance::GetInstanceTransitionTimeElapsed or UAnimInstance::GetInstanceTransitionTimeElapsedFraction in a non-editor build for a valid state machine and transition.

 

Result: Always returns 0.0f

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-79775 in the post.

0
Login to Vote

Fixed
ComponentAnim
Affects Versions4.224.23
Target Fix4.24
Fix Commit9745576
Main Commit9745581
Release Commit9745576
CreatedSep 4, 2019
ResolvedOct 22, 2019
UpdatedNov 12, 2019