Using Lip Sync for Avatars SDK in Unity
Hello, i'm using the Avatar SDK and Photon for a multiplayer VR experience. I already got the Avatar SDK to work. But now I want the avatars to move their lips while talking over VoIP. My current script looks like this: void OnAudioFilterRead(float[] data, int channels) { avatar.UpdateVoiceVisualization(data); } The filter receives the data from the audio source, but the lips just won't move. Sometimes I get a InvalidOperationException: InvalidOperationException: Collection was modified; enumeration operation may not execute. System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) (at <f2e6809acb14476a81f399aeb800f8f2>:0) System.Collections.Generic.List`1+Enumerator .MoveNextRare () (at <f2e6809acb14476a81f399aeb800f8f2>:0) System.Collections.Generic.List`1+Enumerator .MoveNext () (at <f2e6809acb14476a81f399aeb800f8f2>:0) OvrAvatar.Update () (at Assets/Oculus/Avatar/Scripts/OvrAvatar.cs:608) Anyone got any hints in how to get this working?2.2KViews0likes3Comments