Description

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. 

Steps to Reproduce
  1. Open the udn project (this uses subsystem to bind RegisterOnAnimChanged with OnPreviewSceneCreated of PersonaPreviewScene)
  2. Open the "FP_Idle" AnimSequence asset

Result:

Output log "OnAnimChanged: None

Expected:

Output log "OnAnimChanged: FP_Idle

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Anim - Runtime
Affects Versions5.2
Target Fix5.4
Fix Commit30629629
Main Commit30629634
CreatedAug 14, 2023
ResolvedJan 16, 2024
UpdatedMar 22, 2024
View Jira Issue