Cannot find curve timesamples - ue4 import

I exported the skelanimation and I can see the time samples but ue4 drops this error ’ Cannot find curve timesamples’

This is the usda file:

#usda 1.0
(
defaultPrim = “Greg_anim_02”
)

def SkelAnimation “Greg_anim_02”
{
uniform token blendShapes = ["_blendShape1_jawLeft_MeshShape", “_blendShape1_jawForward_MeshShape”, “_blendShape1_eyeWideRight_MeshShape”, “_blendShape1_mouthPucker_MeshShape”,

“_blendShape1_jawRight_MeshShape”]

float[] blendShapeWeights = [0.000018729648, 0, 0, 0.0000350176, 0, 0, 0, 0.000015999734, 0.000020090432, 7.020671e-7, 0, 0, 0.000023710405, 0.000036981244, 0.000024884446, 0, 0.00006362571, 0.000019452098, 0.000040083203, 0.000033798828, 0, 0, 0, 0, 0, 0, 0, 0, 0.000004115161, 0, 0.0000053501876, 0, 0, 0.0000039594406, 0, 0, 0, 2.3734324e-7, 0.00006643271, 0.000037006954, 0, 0, 0.0000014266884, 3.424903e-7, 0, 0, 0, 0.000028184399, 0.0002444675, 0.0001249957, 0.000017031007]

float[] blendShapeWeights.timeSamples = {
    0: [6.4223514e-8, 0, 0, 0, 0, 5.1780884e-8, 2.9258537e-8, 0, 2.6663189e-8, 1.2580751e-8, 7.613881e-9, 2.845079e-8, 0, 3.640056e-8, 0, 0, 1.358133e-7, 0, 4.8082825e-8, 0, 0, 0, 0, 5.412059e-9, 1.5324988e-8, 0, 0, 2.2709537e-8, 2.8476938e-7, 0, 0, 1.8572233e-7, 1.3730914e-7, 0, 0, 0, 7.88


0000018716834, 0.0000016582359, 0, 0, 0, 0.000037465037, 0.0003266882, 0.00016863982, 0.000016604483],
}
token ui:displayGroup = “Material Graphs”
token ui:displayName = “Greg_anim_02”
int ui:order = 1024
}

Hi @funkyphoton, welcome to Audio2Face!

Did you use our “male_bs_46.usd” file when you apply blendshape_conversion? Seems like this is from your custom character “Greg”?
Exporting animation to MetaHuman only works when you make blendshape animation using our template file “male_bs_46.usd”.
If you can share the .usd file you generated, it will be easier to check what causes the problem.

Hey! Thanks for the reply. Im trying to use it with a custom character.

I did a test:

  1. exported the male_bs_46 character to ue4
  2. converted the animation from the base head to male_bs_46
  3. exported the anim from a2f data conversion
  4. ue4 import facial animation to male_bs_46 skeleton

‘not compatible’ - error

I checked the files and the data is in there and with the json I can bake the keys to my character in houdini it would be just so much simpler to use the ue4 importer.

I’m a bit confused about how to use the anim importer in ue4. What does it check? Blendshape names? Joints? Default prim?

Thanks in advance!

A2F_Face_anim.usd (276.8 KB)
A2F_Face.usd (22.4 MB)

So you’re trying to load A2F_Face_anim.usd into male_bs_46 in UE?
If so, it will not work, because UE facial aim importer is “only” works for Metahuman facial rig.
The importer reads the anim curve channels that are used in the Metahuman, and assign the value to the Metahuman anim curve channels.