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.

 

Steps to Reproduce

Use GetInstanceTransitionTimeElapse in a transition rule

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Anim - Runtime
Affects Versions4.275.0-m7
Target Fix5.1
Fix Commit18327385
Main Commit18327385
CreatedNov 29, 2021
ResolvedFeb 1, 2022
UpdatedMay 16, 2022
View Jira Issue