Synchronise Alembic & Metahuman animation. (UE5.3.2)

Hello,

i have made a walk cycle animation for a Metahuman (30 frames), then i made cloth simulation with Marvelous Designer and exported it in alembic, then i used blender to make it loop (60 frames, to have a little bit of variation). Go back to Unreal engine, load the alembic as a geometry cache and attach it to my metahuman. Create a new sequence, add my metahuman, add my animation, cycle it multiple times, add my alembic, cycle it multiple times… in the editor, everything is sync & smooth but if i launch the project, at every new cycle of the walk, i have a glitch. The metahuman is passing thru the clothes for few milliseconds, then sync again… and it does the same at every loop.

Is there a way to be sure the anim & alembic are always synchronised?

thanks in advance ?

C.

I’m doing the same thing, and also having the same issue.

My impression is that it would go away if I did a render, that it’s only in the viewport and in game. I need to test that.

I tried increasing the memory available for geometry cache caching in the project settings, as well as the “look ahead”. Neither helped at all.

I am still struggling with this one. It does show up in the render.

It seems the alembic doesn’t loop consistently. My animation is 19 frames. When I advance 19 frames at a time in the sequencer, most of the time the alembic appears the same. Occasionally, it doesn’t though. I see no good explanation. The animation should be exactly the same every 19 frames.

If I look in the details panel, the frames that are correct show an elapsed time of 0 every 19 frames. The incorrect frames show an elapsed time of .633333.

My animation seems to loop correctly for 8 loops, and then the 9th loop (frame 171) is wrong.

Anyone have any ideas?

My impression is that it’s time related. Like the geometry cache is getting rounded to the wrong frame every so often.

Checking “Lock to Display Rate At Runtime” In the sequencer greatly improves it, but it still happens occasionally.

My animation and cache are 30fps, which is also what the sequencer is set to. How about you @DiaCo ?

Hi,

Yes, everything is 30fps (walk anim, alembic anim…)

I finally made it… my alembic was 82frames, my walkcycle41, (a littlebit slower than in my first attempt) i put everything in a sequencer and was able to sync everything. The glitch was on every new cycle of the walk…

My mistake was to copy the walk cycle multiple times Instead of just stretch it.

On Top, animation of Edwige is duplicated, bottom, Najwa animation is just “streched” (just pull the anchor at the end of the animation timeline)

The top one have a little glitch every 41 frames, the bottom one works fine.

I hope it helps.