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

Problem with Textures #66

Open
martaajonees opened this issue May 1, 2024 · 1 comment
Open

Problem with Textures #66

martaajonees opened this issue May 1, 2024 · 1 comment

Comments

@martaajonees
Copy link

Good morning, I'd like to discuss an issue I encountered with my project. I'm working on a game where I want a character to deliver instructions using LipSync in 2D at the beginning. However, I've run into a problem:
´´´
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].RemoveAt (System.Int32 index) (at :0)
uLipSync.uLipSyncTexture.UpdateVowels () (at Assets/uLipSync/Runtime/uLipSyncTexture.cs:126)
uLipSync.uLipSyncTexture.UpdateLipSync () (at Assets/uLipSync/Runtime/uLipSyncTexture.cs:96)
uLipSync.uLipSyncTexture.Update () (at Assets/uLipSync/Runtime/uLipSyncTexture.cs:68)
´´´
It seems to be related to textures, although I've ensured that all textures are correctly implemented. Here's an image of the mouth variable:

image Additionally, here's how I've defined the 'body' variable: image image While it seems straightforward, this error persists. Does anyone have insight into resolving it?
@hecomi
Copy link
Owner

hecomi commented May 31, 2024

I apologize for the delayed response. It seems that the error you encountered, ArgumentOutOfRangeException, is due to an incorrect index calculation within the uLipSyncTexture class. I'll investigate it and notify you as soon as I fix the issue.

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

2 participants