Quantcast
Viewing all articles
Browse latest Browse all 6821

unhandled exception of type 'System.Collections.Generic.KeyNotFoundException' occurred in mscorlib.dll,

@JeroenT wrote:

First off, I posted this on the old thread and realized that isnt smart. My apologies. But here is my situation need 3D animation in my game and I found this thread. http://community.monogame.net/t/tutorial-how-to-get-xnas-skinnedsample-working-with-monogame/7609/30
Now, I think I have done everything in the right way, but I am getting an error. An error.regarding this line AnimationClip clip = skinningData.AnimationClips["Take 001"];. The error message states: "An unhandled exception of type 'System.Collections.Generic.KeyNotFoundException' occurred in mscorlib.dll, additional information: the given key is not present in the library." When i keep my mouse over clip in the debug it tells me it is null.

The model i have does build in the pipeline with your processor, and the namespace SkinnedModel is also showing up nicely.So does anyone possible have any idea what i am doing wrong?

Thanks in advance, and you have already helped me a great deal. Once again sorryfor bumping the old post.

Jeromer

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles