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

System.ArgumentException: Blend shape index out of range with multiple blend shapes #54

Closed
enitimeago opened this issue Mar 17, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@enitimeago
Copy link
Owner

1.1.0-alpha.2 appears to fix #53 but I'm getting report of another error showing up afterwards https://twitter.com/SsuroVRC/status/1769365274858504622

The lines in question are

                    int index = src.GetBlendShapeIndex(key.name);
                    int numFrames = src.GetBlendShapeFrameCount(index); // <- out of range error here

The only way I can see this erroring is if GetBlendShapeIndex returns -1, which means the requested blend shape name to merge doesn't exist in the first place.

But CommonChecks#RunChecks(GameObject) is already doing a check for non-existing blend shapes, so this seems unexpected.

@enitimeago enitimeago added the bug Something isn't working label Mar 17, 2024
@enitimeago enitimeago added this to the 1.1 milestone Mar 19, 2024
enitimeago added a commit that referenced this issue May 13, 2024
#54 is only expected if a source blend shape is deleted at some point prior to this tool running.
enitimeago added a commit that referenced this issue May 13, 2024
System.ArgumentException: Blend shape index out of range with multiple blend shapes is only expected if a source blend shape is deleted at some point prior to this tool running. See #54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant