Description

UDN link: https://udn.unrealengine.com/s/question/0D54z00008BEDfJCAX/set-actor-time-dilation-to-0-during-a-animation-notify-state-cancel-it?fromCase=1

Notify gathering functions (e.g. UAnimSequenceBase::GetAnimNotifiesFromDeltaPositions) early out if PreviousPosition == CurrentPosition. 

Perhaps we could have a branch that gathers notify states that overlap CurrentPosition?

Steps to Reproduce
  1. Create a custom Anim Notify State that prints a text at NotifyBegin and a different one at NotifyEnd (see picture)
  2. Add the Anim Notify State to an animation (as long as possible, but not cover until the end)
  3. Add code to the character BP to set and reset custom dilation time using a button
  4. Play the animation that has the notify state
  5. Press the button to set CustomTimeDilation to 0 on the actor
  6. The notify states will end without the fix (nothing will happen with the fix)
  7. Set CustomTimeDilation to 1 on the actor
  8. The notify states will start again without the fix (with the fix, the notify will end once it reaches the end position)

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Anim - Runtime
Affects Versions4.265.1
Target Fix5.2
Fix Commit22983308
Main Commit22983308
CreatedOct 12, 2022
ResolvedNov 4, 2022
UpdatedNov 27, 2022
View Jira Issue