Key Not Found Exception?

Topics: User Forum
Jan 16, 2008 at 10:36 PM
I've been able to successfully use ElSibor's update to the Animation Component Library to recreate the dwarf tutorial solution. When I try to create my own models, using .fbx instead of .x I keep getting a Key Not Found Exception. I have searched the forum and have done the following steps.

1. I did in fact create an XML file... I'm off to a great start
2. I did name my subanimation walk, which is the same key I'm using in the code
3. I have the XML file in the same directory as the .fbx file.
4. I did rebuild the solution.
5. Oh, and the most common problem, I did change teh importer to the Model - Animation Library, but left the processor as fbx - XNA Framework

This may not even be a .fbx only problem. Is there anything else that you guys would suggest I look at?
Jan 28, 2008 at 10:18 PM
I might have something. The name for <animation><name> must match what's in the FBX file. So for d3studio max it default to Take 001. Just rename to that in your xml file, and it might fix the problem (if you use 3dstudio max).

<animation><name>Take 001</name>...