OnAnimChanged did not seem to work correctly only the first time when opening the anim sequence and a PreviewScene was created. The OnAnimChanged event is supposed to notify which anim was changed, but it is "none" for the first time. Once a PreviewScene is opened and another animsequence is opened, the notification is correct. This is because "AnimAsset == GetPreviewAnimationAsset()" in the FAnimationEditorPreviewScene::SetPreviewAnimationAsset results in "none" animation.
Result:
Output log "OnAnimChanged: None
Expected:
Output log "OnAnimChanged: FP_Idle
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-192853 in the post.
1 |
Component | UE - Anim - Runtime |
---|---|
Affects Versions | 5.2 |
Target Fix | 5.4 |
Fix Commit | 30629629 |
---|---|
Main Commit | 30629634 |
Created | Aug 14, 2023 |
---|---|
Resolved | Jan 16, 2024 |
Updated | Mar 22, 2024 |