You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a brand new project, when the window is closed and MonoGameGraphicsDeviceService.Dispose() calls GraphicsDevice.Dispose() it receives a System.NullReferenceException.
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=SharpDX.DXGI
StackTrace:
at SharpDX.DXGI.SwapChain.GetFullscreenState(RawBool& fullscreenRef, Output& targetOut)
at SharpDX.DXGI.SwapChain.get_IsFullScreen()
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformDispose()
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Dispose(Boolean disposing)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Dispose()
at MyLevelEditor.MonoGameControls.MonoGameGraphicsDeviceService.Dispose() in C:\Users...\Desktop\MyLevelEditor\MyLevelEditor\MonoGameControls\MonoGameGraphicsDeviceService.cs:line 31
at MyLevelEditor.MonoGameControls.MonoGameContentControl.Dispose(Boolean disposing) in C:\Users...\Desktop\MyLevelEditor\MyLevelEditor\MonoGameControls\MonoGameContentControl.cs:line 85
at MyLevelEditor.MonoGameControls.MonoGameContentControl.Finalize() in C:\Users...\Desktop\MyLevelEditor\MyLevelEditor\MonoGameControls\MonoGameContentControl.cs:line 92
The text was updated successfully, but these errors were encountered:
In a brand new project, when the window is closed and MonoGameGraphicsDeviceService.Dispose() calls GraphicsDevice.Dispose() it receives a System.NullReferenceException.
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=SharpDX.DXGI
StackTrace:
at SharpDX.DXGI.SwapChain.GetFullscreenState(RawBool& fullscreenRef, Output& targetOut)
at SharpDX.DXGI.SwapChain.get_IsFullScreen()
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformDispose()
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Dispose(Boolean disposing)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Dispose()
at MyLevelEditor.MonoGameControls.MonoGameGraphicsDeviceService.Dispose() in C:\Users...\Desktop\MyLevelEditor\MyLevelEditor\MonoGameControls\MonoGameGraphicsDeviceService.cs:line 31
at MyLevelEditor.MonoGameControls.MonoGameContentControl.Dispose(Boolean disposing) in C:\Users...\Desktop\MyLevelEditor\MyLevelEditor\MonoGameControls\MonoGameContentControl.cs:line 85
at MyLevelEditor.MonoGameControls.MonoGameContentControl.Finalize() in C:\Users...\Desktop\MyLevelEditor\MyLevelEditor\MonoGameControls\MonoGameContentControl.cs:line 92
The text was updated successfully, but these errors were encountered: