UE4 freezes when importing FBX with animation
Here's my setup :
I have a fully rigged character with corrective shapes in Maya. I'll create several animations for it. I exported a first fbx with the full character (with rig, blendshapes, materials, ...) and I will export a separate fbx for each animation. In Unreal, in can import the full character fbx correctly, with all its blendshapes and rig. I do have some import errors though, I'm not sure if they do have an impact on my issue :
But when I try to import an animation (I only have an ugly test anim for now) it just freezes right after I click the "Import" button in the import options dialog:
My import settings for the full character fbx:
And for the animation fbx:
You can see I use option so that I import only the animation while reusing the already imported character. I also tried to import the full character with its animation, but it freezes the same way.
As for my FBX export workflow, I used what's described in that video. I use FBX binary 2018 version as I've seen some UE doc indicating that version. But I've seen also plenty other docs or even forum topics advising versions 2016/2017/2014. So... I'm not sure what to do from that.
Thanks for any help.
asked Mar 12 '19 at 08:46 AM in Using UE4
Sometimes the hard way is actually the simplest way.
I couldn't have anything working using Game Exporter or using plugins, so I made myself a script for baking my animation including my corrective morphs and exported the result in FBX 2018. It works.
So here's how I made up my script:
First I selected my export selection set (it contains my geometry and deforming joints), then clicked Key > Bake Simulation (you have to be in Animation set menu to have the key menu displayed). I open the script editor and copy the command line starting by "bakeResults" (it's easy to find it if you have selected plenty of things just before: it's a massively long line at the end of the script editor).
From there I have my script base, but it doesn't include the baking of my blend shapes.
So, for each object with blend shapes to bake:
It looks something like this:
But with much more elements in the list.
To use it, SAVE YOUR PROJECT BEFORE BAKING, then paste the script in the MEL command line at the bottom left corner of the UI, adapt the time range if needed, then press ⏎ ENTER to execute the baking script.
Follow this question
Once you sign in you will be able to subscribe for any updates here