AngryNinjas icon indicating copy to clipboard operation
AngryNinjas copied to clipboard

This sample needs to be updated.

Open totallyeviljake opened this issue 11 years ago • 1 comments

https://github.com/Cocos2DXNA/cocos2d-xna/issues/397

There are some issues with the sample not loading on iOS.

totallyeviljake avatar Feb 12 '14 23:02 totallyeviljake

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.

Krumelur avatar Feb 13 '14 08:02 Krumelur