User Tag List

Results 1 to 6 of 6

Thread: 'Microsoft.Xna.Framework.Content.ContentLoadExcept ion'

  1. #1
    Clicker Multimedia Fusion 2Android Export ModuleXNA Export Module
    Cyberbeard's Avatar
    Join Date
    Aug 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    'Microsoft.Xna.Framework.Content.ContentLoadExcept ion'

    Since earlier this night, I've been getting this message when I try to load a certain level of my game, while testing it on my phone. The app simply freezes and this message pops up in MS VS.


    'An exception of type 'Microsoft.Xna.Framework.Content.ContentLoadExcept ion' occurred in Microsoft.Xna.Framework.ni.dll but was not handled in user code'


    I'm not a coder and can't really analyse the error. Googling it seems to suggest that it has something to do with the code trying to load the .png images wrong or something.
    I've considered any changes I made to the file today, and made sure to re-load any .pngs used by my objects, just to be sure the problem doesn't occur because I've moved a couple of files around in my folder.

    So what on earth could be causing this all of a sudden, and how do I get to the bottom of it?

    Help greatly appreciated!

    Edit:

    Also of note is that the problem persists even if I use an earlier save of the project.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Can you send me your project folder, zipped, as well as the mfa?
    Thanks...

  3. #3
    Clicker Multimedia Fusion 2Android Export ModuleXNA Export Module
    Cyberbeard's Avatar
    Join Date
    Aug 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Francois View Post
    Can you send me your project folder, zipped, as well as the mfa?
    Thanks...
    I've sent a link in PM, thanks!

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    I'll only be able to work on it next week : I will be in Montpellier for the ClickJam the whole week end.

  5. #5
    Clicker Multimedia Fusion 2Android Export ModuleXNA Export Module
    Cyberbeard's Avatar
    Join Date
    Aug 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Francois View Post
    I'll only be able to work on it next week : I will be in Montpellier for the ClickJam the whole week end.
    That's a shame. I have my presentations for this major project on Saturday, Monday, and Thursday.
    Still, can't be helped. I appreciate that you will look into it then, at any rate. Thanks!

    If anyone else has any clue of what's causing this to my game, please respond!

  6. #6
    Clicker Multimedia Fusion 2Android Export ModuleXNA Export Module
    Cyberbeard's Avatar
    Join Date
    Aug 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Update:

    I've been trying to solve it without success, but might have pinned down the issue (although I'm not sure how to solve the issue).

    The program always seems to break at this code:

    string imgName = handle.ToString("D4");
    imgName = "Img" + imgName;
    image = app.content.Load<Texture2D>(imgName);


    Furthermore, if I go under Content References in the Solution Explorer of Visual Studio, the [Gamename]Content tab is marked with an error symbol.

    After googling around, this seems to suggest that there is an issue with loading the .pngs for my project. But I've gone through my objects in MMF and made sure to use .pngs of the correct file path in my updated textures folder for each one. No change.

    The crash always occurs when I try to begin level 2 or 3 (with the click of a button in a level selection frame), and at the end of level 1, just as the 'Game Over / Victory' image object is about to appear. Not sure what the correlation could be there...

    Does anyone have any ideas? I'm a bit desperate!

Similar Threads

  1. Starling framework
    By MEHRDAD in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 7th December 2012, 07:30 AM
  2. .net Framework Min Requirements
    By Zeussy in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 10th March 2011, 06:34 AM
  3. For developers: ObjectSelection Framework
    By Anders in forum Extension Development
    Replies: 7
    Last Post: 1st December 2010, 10:35 PM
  4. Installer framework 3.5
    By pl in forum Install Creator and Patch Maker
    Replies: 11
    Last Post: 1st September 2010, 09:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •