Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uLipSync just not working on WebGL #87

Open
digitalplusplus opened this issue Jan 29, 2025 · 1 comment
Open

uLipSync just not working on WebGL #87

digitalplusplus opened this issue Jan 29, 2025 · 1 comment

Comments

@digitalplusplus
Copy link

Hi there,

whatever I try, I just can't get the lips to move when I build my app on WebGL. It works fine in the Editor, it works fine in Windows Native, it works fine on Meta Quest 1, 2 and 3, it works on a Pico 4 but in WebGL I hear the audio but the lips aren't moving when the GameObject with uLipSync components is playing speech audio. Here is what I tried:

  • I checked the Auto Audio Sync On WebGL
  • I added a uLipSyncAudioSource and added that as an Audio Source Proxy
  • I updated uLipSync from 3.1.3 to 3.1.4
  • Removed all uLipSync components, reconfigured them again

Any clue what I am missing?

regards
Digital++

@digitalplusplus
Copy link
Author

Ok, I got it working! I used GetComponent().PlayOneShot(clip).
When I replaced that with the below it works in WebGL!
GetComponent().clip = clip;
GetComponent().loop = false;
GetComponent().Play();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant