System.MissingMethodException at spriteBatch.DrawRectangle()
See original GitHub issueUsed MonoGame version: MonoGame.Framework.DesktopGL.Core 3.8.0.13
Myra version: 0.9.9.202
Exception details: System.MissingMethodException: "Method not found: 'Void Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(Microsoft.Xna.Framework.Graphics.Texture2D, System.Nullable`1<Microsoft.Xna.Framework.Vector2>, System.Nullable`1<Microsoft.Xna.Framework.Rectangle>, System.Nullable`1<Microsoft.Xna.Framework.Rectangle>, System.Nullable`1<Microsoft.Xna.Framework.Vector2>, Single, System.Nullable`1<Microsoft.Xna.Framework.Vector2>, System.Nullable`1<Microsoft.Xna.Framework.Color>, Microsoft.Xna.Framework.Graphics.SpriteEffects, Single)'."
Occurs at spriteBatch.End() call.
Possible reason: some obsolete overloads of Draw method were removed due to reduntancy. FillRectangle works just fine.
(Btw, it’s my first issue on github. Tell if I need to provide additional info or structurize it other way.)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Thanks for the report. Definitely it should be fixed before next release.
@rds1983 With 1.0.1.209 it works! 👍 Thank you 😃