Results 1 to 2 of 2

Thread: OpenRails crashing on alt-enter fullscreen/windowed toggle

  1. #1

    Default OpenRails crashing on alt-enter fullscreen/windowed toggle

    I am running the current official "Testing" branch from the main openrails.org website, but I have tested the last stable version as well. The problem I'm having is that OR is crashing to desktop sometimes when switching from fullscreen to windowed (or vice versa) using alt enter. I do this because I have a Gsync monitor which needs exclusive fullscreen on Windows 10 in order to work. I was hoping there might be some combination of options or some other fix. Thanks!

    This was in the Event Viewer:

    Application: RunActivityLAA.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.NullReferenceException
    at Microsoft.Xna.Framework.Graphics.Texture2D.CreateT exture(Microsoft.Xna.Framework.Graphics.GraphicsDe vice, Int32, Int32, Int32, UInt32, _D3DPOOL, Microsoft.Xna.Framework.Graphics.SurfaceFormat)
    at Microsoft.Xna.Framework.Graphics.ResolveTexture2D. .ctor(Microsoft.Xna.Framework.Graphics.GraphicsDev ice, Int32, Int32, Int32, Microsoft.Xna.Framework.Graphics.SurfaceFormat)
    at Orts.Viewer3D.Popups.WindowManager.ScreenChanged()
    at Orts.Viewer3D.Viewer.BeginRender(Orts.Viewer3D.Ren derFrame)
    at Orts.Viewer3D.Processes.GameStateViewer3D.BeginRen der(Orts.Viewer3D.RenderFrame)
    at Orts.Viewer3D.Processes.RenderProcess.BeginDraw()
    at Orts.Viewer3D.Processes.Game.BeginDraw()
    at Microsoft.Xna.Framework.Game.DrawFrame()
    at Microsoft.Xna.Framework.Game.Tick()
    at Microsoft.Xna.Framework.Game.HostIdle(System.Objec t, System.EventArgs)
    at Microsoft.Xna.Framework.GameHost.OnIdle()
    at Microsoft.Xna.Framework.WindowsGameHost.Applicatio nIdle(System.Object, System.EventArgs)
    at System.Windows.Forms.Application+ThreadContext.Sys tem.Windows.Forms.UnsafeNativeMethods.IMsoComponen t.FDoIdle(Int32)
    at System.Windows.Forms.Application+ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(IntPtr, Int32, Int32)
    at System.Windows.Forms.Application+ThreadContext.Run MessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
    at System.Windows.Forms.Application+ThreadContext.Run MessageLoop(Int32, System.Windows.Forms.ApplicationContext)
    at System.Windows.Forms.Application.Run(System.Window s.Forms.Form)
    at Microsoft.Xna.Framework.WindowsGameHost.Run()
    at Microsoft.Xna.Framework.Game.Run()
    at Orts.Program.Main(System.String[])

  2. #2
    Join Date
    Sep 2006
    Location
    .
    Posts
    2,431

    Default

    Is Alt-Tab equally unstable?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •