Description

GetInstanceTransitionTimeElapsed doesn't use TransitionIndex.

 

float UAnimInstance::GetInstanceTransitionTimeElapsed(int32 MachineIndex, int32 TransitionIndex)
{ 
   // Just an alias for readability in the anim graph return  
   GetInstanceCurrentStateElapsedTime(MachineIndex);
}

float UAnimInstance::GetInstanceCurrentStateElapsedTime(int32 MachineIndex)
{ 
   return GetProxyOnAnyThread<FAnimInstanceProxy>().GetInstanceCurrentStateElapsedTime(MachineIndex);
}

So, if Animation BP run few few transitions  at the same time, GetInstanceTransitionTimeElapsed will not return right value. It will ignores the location of the Transition and returns the latest value transition's value. This is misleading.

 

As far as the past update history is seen, it is probably due to omission from the target of batch replacement.

 

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Anim - Runtime
Affects Versions4.275.0-m7
Target Fix5.1
Main Commit18327385
CreatedNov 29, 2021
UpdatedJan 28, 2022