Developer Notes

The fix will only affect newly created sequences

Description

When an actor is attached by the root to a bone of a skeletal mesh through the use of the "AttachToComponent" function in code, it will not follow animations when being recorded by the Sequencer Recorder.

This does not occur if the Mesh is the root of the actor, therefore in the repro case above, a Scene component is set as the root. It also does not occur if the entire process is done through blueprints. C++ is required to reproduce this.

Steps to Reproduce
  1. Download the attached project
  2. Right-click the .uproject file, generate project files for Visual Studio, open the .sln in Visual Studio, build the project (ctrl+shift+B)
  3. Open the project
  4. Press Play and walk around
  5. Notice how the attached box follow's the animation of the bone it's attached to
  6. Open the folder Content/Cinematics/Sequences and open the sequence located there
  7. Press play in the new window and watch the viewport
    Result: The box does not follow the animation of the bone it is attached to
    Expected: The box should follow the animation as it does in real time

Additional steps to test with new sequence:

  1. Open the Sequence Recorder
  2. Press "Add"
  3. Press Play in the editor to start PIE
  4. Shift+F1 to free the cursor and select the track you added
  5. Scroll down to "Actor to Record" and select the ThirdPersonCharacter
  6. Press Record
  7. Run around in PIE for about 10 seconds of recording time
  8. Press "Esc" to end PIE
  9. Repeat steps 6 and 7 in the original steps

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.11.24.12
Target Fix4.13
Fix Commit3071798
Main Commit3117035
Release Commit3071894
CreatedMay 25, 2016
ResolvedAug 1, 2016
UpdatedFeb 5, 2017