Unity webgl latency issue

Original Discord Post by dhiva.ak | 2024-05-02 10:03:35

i used unity audio getdata function for audio analysis to trigger lip sync blend shapes ,but i encounter a latency issue in webgl build then unity editor , while there is delay between audio and lip blendshapes ,can any help me with suggestions?

Reply by k3kalinix | 2024-05-02 10:03:49

Hello <@1224990274602663936>,

Reply by k3kalinix | 2024-05-02 10:05:57

In our next WebGL update, our LipSync system will be updated.
It will be the same as in the Core SDK. I kindly ask you to wait for this update.

Reply by dhiva.ak | 2024-05-02 10:10:02

bro i did myself the lipsync ,i used unity audio Component’s GetData function to analyse audio to determine the blendshapes ,which i made shape keys for lips in blender for each word of vowels

Replying to dhiva.ak’s Message

Reply by dhiva.ak | 2024-05-02 10:10:02
bro i did myself the lipsync ,i used unity audio Component’s GetData function to analyse audio to determine the blendshapes ,which i made shape keys for lips in blender for each word of vowels

Reply by k3kalinix | 2024-05-02 10:13:42

Yes, I understand, but this is your own custom system and we do not provide support in this regard.
Garbage Collector management is different in WebGL. Probably the code you wrote is not optimized. In our LipSync system, Visemes is created by Server.

As I said, I suggest you wait for our next update.

This conversation happened on the Convai Discord Server, so this post will be closed.