XNA Skinned Model - Keyframe.Bone out of range exception
- by idlackage
I'm getting an IndexOutOfRangeException on this line of AnimationPlayer.cs:
boneTransforms[keyframe.Bone] = keyframe.Transform;
I don't get what it's really referring to. The error happens when keyframe.Bone is 14, but I have no idea what that's supposed to mean. The 14th bone of my model? What would that even be? I read this thread, but nothing there seemed to work. I don't have many bones, stray edges/verts, unassigned verts, unparented/non-root bones, or bones with dots in the name. What else can I be missing?
Thank you for any help!