1
Vote

Array problem with XNA 3.0 CTP

description

System.ArrayTypeMismatchException was caught
Message="Attempted to access an element as a type incompatible with the array."
Source="Microsoft.Xna.Framework"
StackTrace:
   at Microsoft.Xna.Framework.Graphics.SpriteBatch.InternalDraw(Texture2D texture, Vector4& destination, Boolean scaleDestination, Nullable`1& sourceRectangle, Color color, Single rotation, Vector2& origin, SpriteEffects effects, Single depth)
   at Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(Texture2D texture, Rectangle destinationRectangle, Color color)
   at Demo.Screens.TitleScreen.Draw(GameTime gameTime) in C:\Development\Quasar\QEngine\Demo\Screens\TitleScreen.cs:line 111
InnerException:

comments

lucxor wrote Jun 8, 2008 at 11:48 PM

Fixed... did not have XNA Framework 3.0 referenced... sorry

wrote Feb 14, 2013 at 1:28 AM