Retarget Base Pose Crash!

Anyone had this crash? Steps…

  1. Import an animation that includes a pose you want to use for retargeting animations.
  2. Confirmed the animation works with chosen skeleton.
  3. Next you create a pose asset and use your new animation as the source. Test the sliders, looks like its working…
  4. Then open your skeleton and get into the Retarget Manager
  5. Open the Modify Pose menu, select your pose asset, and specific pose
  6. Press IMPORT → CRASH!! Assert, something about Array index out of bounds: -1 from an array of size 64?

Why would an animation work but importing a pose from the animation crash UE4?

Note, I created a new skeleton from the animation file, then went through the above steps, and the import didn’t cause a crash, it worked as expected. So I assume there is something slightly different between the skeletons, but other than some sockets and a few virtual bones, their hierarchies are the same. I mean, of course they are, the animation works. Weird…

Anyway, looking for ideas or a solution, thanks!

FOUND SOLUTION

I figured out a work around.

  1. Open the skeleton and preview the animation that contains the pose you want.
  2. Set the animation frame to the pose you want
  3. Use the Create Asset -> Create Pose Asset -> Use Current Pose
  4. You can then save a pose asset which will be loaded properly without crashing.

Unclear what the difference is between the pose asset made directly from the animation and the one made through the create asset menu, but… meh, it worked.

EDIT**

Another tid bit I didn’t realize, if you want to modify your pose, you don’t even need to use a pose asset. Just preview the animation on your skeleton, scrub to the frame with the pose you want, and use Modify Pose -> Use CurrentPose.

If the crash is a -1 on array it means the code isn’t properly setup to handle a reference.
you should probably package the stuff you used to get the error and submit a bug report.
if they can replicate it they’ll eventually fix it.