Jump to content
  • Advertisement
Sign in to follow this  
akira32

WP7 release bug by using SkinnedModel sample code

This topic is 2718 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I use SkinnedModel sample code in my windows phone 7 project(GameClient). There is no problem in running the project's debug mode. But I change the configuration as Release Mode. It will break at content loading and show "ContentLoadExcpetion was unhandled" error as below:

Error loading "Model\anima0\role_anima". Cannot find type SkinnedModel.SkinningData, SkinnedModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.

My GameClient project use the UtilityWinGameLibrary reference and SkinnedModelWindows reference. The UtilityWinGameLibrary also use SkinnedModelWindows reference.

Does somebody meet the same problem?


1 public void LoadModel(ContentManager content, string assetName, bool bDyanamic)
2 {
3 TechniqueNameList.Clear();
4 m_model = content.Load<Model>(assetName);
5
6 SkinningData skinningData = m_model.Tag as SkinningData;
7
8 IsEffectInstance();
9 }

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!