c# - Monogame running very slow on Windows Phone -
recently, decided resurrect 1 of old xna game projects , port windows universal app using monogame. managed game running (albeit little less performance) on windows 8.1, ran huge problems windows phone.
first, rendering portrait, fixed using rendertarget2d outlined elsewhere. important problem <8 fps game running at. thought might memory problem ran profiler found nothing out of ordinary (the game used 150mb).
after looking @ output window, saw mscorlib.dll throwing 5 system.io.filenotfoundexceptions every second! knew wrong couldn't find additional information on happening. must monogame because changed no code during port.
any ideas?
output (post-build)
other load calls here... 'operation furball.windowsphone.exe' (coreclr: .): loaded 'c:\windows\system32\system.linq.ni.dll'. skipped loading symbols. module optimized , debugger option 'just code' enabled. 'operation furball.windowsphone.exe' (coreclr: .): loaded 'c:\windows\system32\system.core.ni.dll'. skipped loading symbols. module optimized , debugger option 'just code' enabled. 'operation furball.windowsphone.exe' (coreclr: .): loaded 'c:\data\shareddata\phonetools\appxlayouts\be3bbc51-434b-4ead-9cac-b80c7890a503vs.debug_anycpu.ramsay\sharpdx.mediafoundation.dll'. cannot find or open pdb file. first chance exception of type 'system.io.filenotfoundexception' occurred in mscorlib.ni.dll first chance exception of type 'system.io.filenotfoundexception' occurred in mscorlib.ni.dll first chance exception of type 'system.io.filenotfoundexception' occurred in mscorlib.ni.dll first chance exception of type 'system.io.filenotfoundexception' occurred in mscorlib.ni.dll first chance exception of type 'system.io.filenotfoundexception' occurred in mscorlib.ni.dll first chance exception of type 'system.io.filenotfoundexception' occurred in mscorlib.ni.dll first chance exception of type 'system.io.filenotfoundexception' occurred in mscorlib.ni.dll ...many more errors here... first chance exception of type '<unknown>' occurred in unknown module. program '[2896] operation furball.windowsphone.exe' has exited code -1 (0xffffffff).
thanks thumbmunkeys, problem fixed. debugger makes game slow, not attaching debugger brings game 30fps.
this can tested deploying app using visual studio, stopping debugger , starting game on device.
Comments
Post a Comment