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.
Use GetInstanceTransitionTimeElapse in a transition rule
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-136117 in the post.
0 |
Component | UE - Anim - Runtime |
---|---|
Affects Versions | 4.27, 5.0-m7 |
Target Fix | 5.1 |
Created | Nov 29, 2021 |
---|---|
Resolved | Feb 1, 2022 |
Updated | May 16, 2022 |