hecomi / uLipSync

MFCC-based LipSync plug-in for Unity using Job System and Burst Compiler
https://tips.hecomi.com/entry/2022/01/30/152519
MIT License
1.01k stars 125 forks source link

how to stop lip-sync #46

Open hansolGib opened 1 year ago

hansolGib commented 1 year ago

hello, I'm currently using uLipSync with uLipSyncWebGL. I put lip-sync in a object called Characters and place vrm avatar inside it. it works fine. however, when I change the scene, I got a log SendMessage: object Characters not found! in the javascript console every frame. I guess this is because there is no object called Characters in other scenes. but I'm not sure why I'm having this log. I thought the scene would be destroyed when moving to other scenes using SceneManager.LoadScene. I tried to disable the script using <uLipSync.uLipSyncBlendShape>.enable = false and <uLipSync.uLipSync>.enable = false before changing the scene, but then I got an empty log every frame. it seems the lip-sync is working even after scene change. how can I stop it?