System.MissingMethodException: 'Method not found: 'UInt64 Microsoft.Xna.Framework.Graphics.GraphicsMetrics.get_DrawCount()'.'
See original GitHub issueMy code is identical to the one in the tutorial, and it compiles fine.
But I get System.MissingMethodException: 'Method not found: 'UInt64 Microsoft.Xna.Framework.Graphics.GraphicsMetrics.get_DrawCount()'.'
when I try to run the application.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:13 (6 by maintainers)
Top Results From Across the Web
System.MissingMethodException: 'Method not found: 'IntPtr ...
i took out his SharpDX ref and his till works. System.MissingMethodException: 'Method not found: 'IntPtr Microsoft.Xna.Framework.Graphics.
Read more >System.MissingMethodException: Method not found?
I resolved this issue by installing the correct .NET Framework version on the server. The website was running under version 4.0 and the...
Read more >Missing Method on launch - Windows UWP
System.MissingMethodException: Method not found: 'Void SharpDX.DXGI. ... Present() at Microsoft.Xna.Framework.Game.EndDraw() at Microsoft.
Read more >Method not found: System.MissingMethodException
I am upgrading .net core web api 2.2 to .net core 3.1 while runtime i am getting error like , 'Microsoft.Extensions.DependencyInjection.
Read more >Not sure how to fix this error : r/SMAPI
Technical details: MissingMethodException: Method not found: 'PyTK.Types.AssetLoadInjector`1<Microsoft.Xna.Framework.Graphics.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@RShadowhand for now as a workaround you can:
Core.drawCalls
in Nez’s Core.cs fromulong
tolong
Ran into this today with the latest
Nez
from Git. Replacing theMonoGame.Framework.dll
didn’t work until I removed and re-added the reference (replacing the file on disk isn’t enough, even if Visual Studio shows the correct/updated version).I also had to change
ulong
tolong
and changeOnApply
inWaterReflectionEffect.cs
to returnvoid
instead ofbool
.