Hi! I have a small problem with my game…
I get this when I’m starting it in a virtualized environment using ‘Sandboxie’:
Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Failed to create graphics device! ---> SharpDX.SharpDXException: HRESULT: [0x8007007E], Module: [Unknown], ApiCode: [Unknown/Unknown], Message: The specified module could not be found.
at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreateDevice(Adapter adapter, DriverType driverType, DeviceCreationFlags flags, FeatureLevel[] featureLevels)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.CreateDeviceResources()
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformInitialize()
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Initialize()
at Microsoft.Xna.Framework.Graphics.GraphicsDevice..ctor(GraphicsAdapter adapter, GraphicsProfile graphicsProfile, PresentationParameters presentationParameters)
at Microsoft.Xna.Framework.GraphicsDeviceManager.Initialize()
at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice()
It only happens on my smurf-account (steam) I use to test MP.
I really don’t know Sandboxie well. Just used it to access a second Steam account on my dev-computer to test MP…
Everything works fine locally on my main account. The smurf account is embedded in a sandbox using ‘Sandboxie’ so there may be some resizing involved when it’s displaying.
I also tried searching this board and I found this:
So I tried using the app.manifest from github Jjagg provided somewhere else on this board… https://github.com/Jjagg/MonoGame/blob/develop/ProjectTemplates/VisualStudio2010/Windows/app.manifest
But nothing changed…
Still the same behaviour (added it in my project; set to copy-if-newer; Added it in the projects properties via dropdown). Still works locally, but not on sandbox.
The odd thing is that it only happens with Sandboxie… I’ve tried a full VM → works; no problem (but slow )
like a charm… That issue sadly is so much beyond me. I fear I cannot help even getting the simplest debugging infos.
Any ideas. Thx in advance.
Additional Info:
I’m using MG 3.6.0.1011 (via installer from TeamCity)