Reducing animation latency in Unity WebGL

Game Engine: Unity
Export Target: WebGL

Issue Summary:
I created a character with multiple animations in iClone and imported them into Unity. I then added Convai actions so the character transitions between animations based on spoken keywords.

However, I’ve noticed a significant delay when running the project on the web (WebGL export). After I speak to the character, it generates a text response first, but takes about 5 to 10 seconds before playing the corresponding animation. I’d like to reduce this latency so the character can speak and animate simultaneously. Could you please give me some suggestions to solve this problem?

Hello @copcoe,

Could you please share a screen recording that shows the issue? Make sure the Console logs (opened with F12) are visible in the video.

Hello Developer,

Thanks for your reponse. I checked the animation and thought it has some unnecessary frames at the beginning. I will troubleshoot that first. If I still observe significant lantecy, I’ll upload screen recording.

1 Like