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

Multiple uLipSync instances created causing calibration button to not work #77

Open
jamesw966 opened this issue Aug 20, 2024 · 0 comments

Comments

@jamesw966
Copy link

jamesw966 commented Aug 20, 2024

I've been trying to calibrate but the button doesn't work for me - the visualisation for the phoneme stays exactly the same colours when I push the button. However, I know the sound is coming through because I can see my avatar's lips moving in response to sound from a file or the mic.

I discovered that many instances of the uLipSync class were being created and the calibration requests were being handled in a different instance to where the button click was handled. To diagnose this I created a class constructor and made a random ID there, which I printed out immediately but also in the RequestCalibration() and UpdateCalibration() methods.

As a workaround, I've changed _requestedCalibrationVowels to be static and now it works fine. If I find out why multiple uLipSync instances are being made then I'll follow up.

I'm on Unity 6 using uLipSync 3.1.4.

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