• Advertisement
Sign in to follow this  

NullReferenceException OnLostDevice()

This topic is 4090 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

Hi guys, i've wrote an engine in a few days, but i've got a nasty bug i can't find, after i exit the engine i get a nullreferenceexception, this thread has details. NullReferenceException Font.OnLostDevice() also get this for a sprite aswell http://www.gamedev.net/community/forums/topic.asp?topic_id=418901 http://www.gamedev.net/community/forums/topic.asp?topic_id=266929 i've read this thread and maybe im doing something wrong, the problems only came after i started using tom millers render loop, super fast performance but i've paid the price, i'm not an expert at c#.net so any help is appreciated. Also, i'm not sure what i'm missing, thanks Si

Share this post


Link to post
Share on other sites
Advertisement
Sounds like you're trying to access something that's been destroyed. Without seeing your code it's hard to say anything else.

Share this post


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

  • Advertisement