Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angry Ninjas sample does not start on iOs #397

Closed
Krumelur opened this issue Feb 12, 2014 · 2 comments
Closed

Angry Ninjas sample does not start on iOs #397

Krumelur opened this issue Feb 12, 2014 · 2 comments

Comments

@Krumelur
Copy link

The Angry Ninjas sample crashes on iOS 7. The stack trace says:

System.TypeInitializationException: An exception was thrown by the type initializer for Microsoft.Xna.Framework.Graphics.GraphicsDevice

2014-02-12 21:15:36.343 AngryNinjas[16115:60b] Unhandled managed exception: An exception was thrown by the type initializer for Microsoft.Xna.Framework.Graphics.GraphicsDevice (System.TypeInitializationException)
  at Microsoft.Xna.Framework.GraphicsDeviceManager.Initialize () [0x00081] in c:\Users\rene\Source\Repos\MonoGame\MonoGame.Framework\GraphicsDeviceManager.cs:380 
  at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice () [0x00001] in c:\Users\rene\Source\Repos\MonoGame\MonoGame.Framework\GraphicsDeviceManager.cs:124 
  at Microsoft.Xna.Framework.GamePlatform.BeforeInitialize () [0x0003f] in c:\Users\rene\Source\Repos\MonoGame\MonoGame.Framework\GamePlatform.cs:268 
  at Microsoft.Xna.Framework.iOSGamePlatform.BeforeInitialize () [0x00001] in c:\Users\rene\Source\Repos\MonoGame\MonoGame.Framework\iOS\iOSGamePlatform.cs:188 
  at Microsoft.Xna.Framework.Game.DoInitialize () [0x00008] in c:\Users\rene\Source\Repos\MonoGame\MonoGame.Framework\Game.cs:739 
  at Microsoft.Xna.Framework.Game.Run (G
ameRunBehavior runBehavior) [0x00027] in c:\Users\rene\Source\Repos\MonoGame\MonoGame.Framework\Game.cs:466 
  at Microsoft.Xna.Framework.Game.Run () [0x00001] in c:\Users\rene\Source\Repos\MonoGame\MonoGame.Framework\Game.cs:456 
  at AngryNinjas.Program.FinishedLaunching (MonoTouch.UIKit.UIApplication app) [0x0000c] in c:\Users\rene\Source\Repos\AngryNinjas\AngryNinjas\Program.cs:36 
  at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/.pmcs-compat.UIApplication.cs:38 
  at AngryNinjas.Program.Main (System.String[] args) [0x00001] in c:\Users\rene\Source\Repos\AngryNinjas\AngryNinjas\Program.cs:44 
Debugging session ended.
@totallyeviljake
Copy link
Member

This should be posted at the Angry Ninjas repository:

https://github.com/Xamarin/AngryNinjas

@Krumelur
Copy link
Author

Thanks! I wanted to do that. However I miss the "Issues" link there and thought, issues were turned off. Thanks for being my second pair of eyes. Closing it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants