Jump to content
  • Advertisement
Sign in to follow this  
Flawe

Maya API: Maya crash on MFileIO::newFile

This topic is 3558 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 have an exporter implemented as a separate application, loading Maya in library mode and working its magic. Now everything works fine until the exporter reaches its destructor. There MFileIO::newFile(true); is called to reset the state in Maya. Here's where Maya crashes. It happens on some models not all of them but the differences are so big, I have no clue what could be the cause. Usually larger and more complex models make Maya crash. Now I can remove that line form the destructor but I have the same line just before I call open on the filet. If I export two models, the second one will crash Maya on MFileIO::newFile just before I open that second file. This pretty much means that I must do something to mess something up in Maya. Does anyone have any ideas what I could be doing to make Maya crash on newFile()?

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!