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
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
What is the difference between Camera and CineCamera?
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 |