Author Topic: Game won't start on Windows 10  (Read 1694 times)

JBrown247

  • Probably not a Spambot
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Game won't start on Windows 10
« on: August 24, 2020, 11:29:44 pm »
I have tried all the fixes I could find. Reinstalled XNA 10 times. Checked the .NET Framework. I have reinstalled twice, verified the install, and tried with the experimental as well as the normal. It still won't work. PLEASE HELP ME!! Here is my crash log:

Game Version: 1.1.2.3
Error: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'GraphicsDevice'.
   at Microsoft.Xna.Framework.Helpers.CheckDisposed(Object obj, IntPtr pComPtr)
   at Microsoft.Xna.Framework.Graphics.GraphicsDevice.get_Viewport()
   at Microsoft.Xna.Framework.Graphics.SpriteBatch.SetRenderState()
   at Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
   at cas.b()
   at a28.Draw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.DrawFrame()
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   at Microsoft.Xna.Framework.GameHost.OnIdle()
   at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at Microsoft.Xna.Framework.WindowsGameHost.Run()
   at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   at bt9.a(String[] A_0)

PhrygianDominant

  • Developer
  • Godman
  • *****
  • Posts: 1289
  • Karma: +175/-0
    • View Profile
Re: Game won't start on Windows 10
« Reply #1 on: August 25, 2020, 09:05:09 am »
Could be your antivirus software. Try disabling it temporarily and see if anything changes. We often have problems with certain AV's, Avast and AVG mainly, blocking Underrail for some reason. If your AV is the problem, you can exclude the whole Underrail folder from its search and that should prevent it from causing any more trouble.

I also saw that harperfan7 posted a helpful link on Discord, so you can try manually reinstalling XNA from there as well.

JBrown247

  • Probably not a Spambot
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Game won't start on Windows 10
« Reply #2 on: August 25, 2020, 02:56:29 pm »
It wasn't because that is one of the first things I checked (forgot to mention), but I uninstalled and reinstalled last night for the 3rd time, and now the game works. Seems a little crazy, but I think I am ready to go! :D

JBrown247

  • Probably not a Spambot
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Game won't start on Windows 10
« Reply #3 on: August 26, 2020, 02:42:03 am »
I think it was because of MSI Afterburner if anyone else runs into this same problem. I think MSI Afterburner was interfering with XNA