Problem loading model

Topics: Developer Forum
Mar 15, 2007 at 7:02 PM
I get this error when I'm trying to load an animated model:

Unable to cast object of type 'Microsoft.Xna.Framework.Graphics.BasicEffect' to type 'Xclna.Xna.Animation.BasicPaletteEffect'.

here:

foreach (ModelMesh mesh in model.Meshes)
                {
                    foreach (BasicPaletteEffect effect in mesh.Effects)
                    {
                        effect.View = view;
                        effect.Projection = projection;
                    }
                }
Coordinator
Mar 15, 2007 at 7:46 PM
The first question in the Troubleshooting page should help:
http://www.codeplex.com/animationcomponents/Wiki/View.aspx?title=Troubleshooting