UE 5.8.0- AnimNotifyState that the tick occurs twice per frame

Summary

AnimNotifyState that the tick occurs twice per frame

What Type of Bug are you experiencing?

Animation

Steps to Reproduce

AnimNotifyState that the tick occurs twice per frame

Expected Result

AnimNotifyState that the tick occurs once per frame

Observed Result

UAnimInstance::TriggerAnimNotifies
2024 line :const bool bShouldTickNotifyState = !bShouldSkipMontageNotify || !bShouldSkipAnimGraphNotify;

maybe const bool bShouldTickNotifyState = !bShouldSkipMontageNotify && !bShouldSkipAnimGraphNotify;

Affects Versions

5.8

Platform(s)

Windows

Video

LogTemp: Warning: [帧号检查] 全局帧号: 3462 | 这一帧DeltaTime: 0.011697
LogTemp: Warning: [帧号检查] 全局帧号: 3462 | 这一帧DeltaTime: 0.011697
LogTemp: Warning: [帧号检查] 全局帧号: 3463 | 这一帧DeltaTime: 0.013651
LogTemp: Warning: [帧号检查] 全局帧号: 3463 | 这一帧DeltaTime: 0.013651
LogTemp: Warning: [帧号检查] 全局帧号: 3464 | 这一帧DeltaTime: 0.011281
LogTemp: Warning: [帧号检查] 全局帧号: 3464 | 这一帧DeltaTime: 0.011281
LogTemp: Warning: [帧号检查] 全局帧号: 3465 | 这一帧DeltaTime: 0.011959
LogTemp: Warning: [帧号检查] 全局帧号: 3465 | 这一帧DeltaTime: 0.011959

Additional Notes

you can print log in animNotifystate tick funciton

UE_LOG(LogTemp, Warning, TEXT(“[帧号检查] 全局帧号: %llu | 这一帧DeltaTime: %f”), GFrameCounter, FrameDeltaTime);