UE -> Blender -> UE / Skeletal animations

I’m experiencing a strange issue in skeletal meshes exported from blender.
If I export from UE 4.7.4 (Mac version) a character (in particular the default third person character), import the fbx in blender (2.74) and export again (following these instructions: Importing an exported FBX back into UE4 - Pipeline & Plugins - Epic Developer Community Forums) everything work correctly, except that the right foot looks twisted during any animation:

When no animation is applied, the bones appear to be correctly setup (e.g. rotating the bone manually correctly moves the foot):

The fbx appears to be correct if re-imported in blender.
What’s going on in here? Any workaround?

The issue seems quite similar to this one:

This seems to be linked to this Blender/UE4 issue:

Why my comment has been marked as accepted? The issue linked is not a solution to the problem reported, and blender exporter works with Unity, so as far as I understand it’s not clear if the issue is on the blender side or on the UE side.

Hi devel.bmad,

The response was marked as accepted because it was posted as an answer to your own question. Answerhub registers that as an auto-accept. However, this question is directly related to:

It was determined that the error is due to the exporter from blender (7.4 FBX exporter). Try using the branch that Mont29 posted in his answer (thread above) to see if it works for you.

Hi , the build you mention is linked also in the thread I posted in my comment, but in my case it doesn’t fix the issue unfortunately. May this be a different aspect of the problem?

Are you using the Blue Mannequin model from the editor for this? There is an odd known issue where the right foot twists as you’ve described and we haven’t quite found out what is going on with that. The Mannequin from the ART tools in Maya seems to work significantly better. I’ve attached a copy of that for you to use:
link text

Please let me know if you see the same behavior in this model.

Thank you, I will give it a try. I’m using one of the prototype characters from the store, the problem is not the mannequin itself but probably its skeleton (the se character from the store share the same skeleton).
If possible, I’d like to find a way to use the default epic skeleton in order to avoid retargeting all the animations, using a different skeleton may be a temporary solution but I would really like to find a workaround for the default one.

Tested the mannequin from the ART tools in Maya, the foot looks ok but there are similar issues to the arms when retargeting the animations (plus, assigning the skeleton from this model to other models doesn’t seem to work in my case - though I’m probably doing something wrong…)

are you zeroing out the reference pose before exporting?

No, how do I do that? before exporting the ART model from blender or before exporting the characters from UE?

If it would help at all it would be when exporting the ART model, however I just realized that this is typically for exporting from blender, not the issue within blender. I’m going to look a bit more and see what I come up with. I’ll let you know if I find what is happening and/or how to fix it.

The issue is in UE4, not in blender. In blender the skeleton of the TPP character is a bit messed up, but I can live with it. My issue is that I need to export an UE character, do a very easy modification in blender, and reimport it in UE4 with the same skeleton it has originally. Thanks for your help in any case!!

Can you show me what export/import settings you are using in both blender and UE4?

Hi , here are all the steps, the files and the configs to reproduce the problem:

  1. Create a new TPP project, no starter content [UE 4.7.5]

  2. Export as FBX the ThirdPersonSkelMesh (https://drive.google.com/open?id=0B7SpUfi4PH7adkJmaW96ZFFjcWs&authuser=0)

  3. Import it in Blender [2.74]

  4. Reparent ik_foot_root and ik_hand_root to pelvis (otherwise UE4 will complain that cannot import object with multiple bone roots later on). The result is this blend file: https://drive.google.com/open?id=0B7SpUfi4PH7acGFDYlk1eFo5QTA&authuser=0

  5. Select all, export in FBX format with the following settings:

The resulting file is the following:
https://drive.google.com/open?id=0B7SpUfi4PH7aU0dfRUpGYmFMc0k&authuser=0

  1. Import again in the same project in UE4 applying again the ThirdPersonSkeleton with the following settings:

  1. In UE4 open ThirdPersonAnimBlueprint and select the newly imported mesh. When animated, the mesh show several artifacts as in the following screenshot:

Please note that in this case the right foot get twisted as in my original post (even though the character was a slightly different one in that case), but in this case also the right arm was messed up.

I tried using the ART model linked above with the same workflow, but also in that case I had several artefacts that were messing up the animations.

Please let me know if do you need further details, thanks for your help!

Hi devel.bmad,

I just wanted to update and let you know that I am still looking into this. I believe the error is coming from the fact that the meshes exported to blender are importing to blender with multiple root bones, then, if the root bones are changed an error is occurring. I am not overly familiar with setting up skeletal meshes, especially outside of the editor, so this is taking me a bit of time to test. Thank you for your continued patience while we work this out.

Hi , thank you, for your help. The two root bones reparented should not impact these animations (I think they are linked e.g. to a socket for adding a weapon in the hand of the character). Do you think this could be solved changing how fbx are exported from UE4?

Did you have a chance to check this blender issue?

There’s an interesting discussion about that.

Hi devel.bmad,

I just wanted to let you know we are still looking into this. It looks like it is still an error with the way blender interprets axis values as opposed to UE4, which follows a format closer to Max or Maya. We are looking into possible solutions, however I don’t have a timeframe of when this will be finished. I’m going to leave this thread open for now while we try to work out what is going on. Thank you for your continued patience.

Thank you , I do appreciate your effort! Solving this issue would improve hugely my blender workflow, please keep me posted.

As a Blender user myself I completely understand! We’ll let you know when we have more info!

Hi , any update on this issue? Is there any possible workaround I can rely upon while a proper solution is being investigated?