Hey everyone!
Terraria keeps crashing on my PC anytime I press any key in-game. And this doesn't have to be in-game as in when I'm in a world, but it crashes even if I press a key in the menu or the loading screens. I first noticed this when I was trying to type the password for a server I was about to join yesterday. I have not installed any modifications nor have I modified any .plr or .wld files using any external editors. The error message I get when pressing a key is:
"System.DivideByZeroException: Yritettiin jakaa nollalla. [Finnish for "Tried to divide by zero."]
kohteessa Terraria.Main.Draw(GameTime gameTime)
kohteessa Microsoft.Xna.Framework.Game.DrawFrame()
kohteessa Microsoft.Xna.Framework.Game.Tick()
kohteessa Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
kohteessa Microsoft.Xna.Framework.GameHost.OnIdle()
kohteessa Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
kohteessa Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
kohteessa System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
kohteessa System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
kohteessa System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
kohteessa System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
kohteessa System.Windows.Forms.Application.Run(Form mainForm)
kohteessa Microsoft.Xna.Framework.WindowsGameHost.Run()
kohteessa Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
kohteessa Terraria.Program.LaunchGame(String[] args)"
"kohteessa" means "in/on/at target". The error seems to be pointing towards Microsoft XNA Framework. I have already tried the following to fix the error:
1. Verifying integrity of game cache. Terraria still crashes with the same error.
2. Fixing Microsoft XNA Framework using its installer. Seems to reinstall the whole thing, but the crash keeps happening.
3. Completely uninstalling and reinstalling Microsoft XNA Framework. The crash keeps happening.
4. Uninstalling and reinstalling Microsoft .NET Framework. I could uninstall it but not reinstall it because it claims that I still have the latest version installed. Terraria does still start so I guess it's the .NET Framework that is integrated into Windows 10 and cannot be uninstalled. Oh, did I mention the crash still happens?
5. Uninstalling and reinstalling Terraria. No luck.
6. Deleting all content from "My Games => Terraria". Nothing.
7. Checked Comodo for any sort of interference with Terraria. There wasn't any (which surprised me).
8. Ran a quick scan on Comodo. No malware.
And what I'm doing now: Running a scan on Malwarebytes Anti-malware. Currently at 93 000 objects scanned, no malware found.
I'm running Terraria 1.3.3.3 on Windows 10, with a moderate laptop running on an AMD Quad Core processor and two AMD Radeon graphics cards. I also have 8 GB of RAM. Terraria has been running properly and very smoothly at maximum fps for two years now, so I can't possibly understand why it would become incompatible overnight... Unless there is some sort of a Windows update which screwed .NET Framework or some other software up.
What could be behind this strange crash? I have tried fixing each and every thing I personally know could be the issue.
Terraria keeps crashing on my PC anytime I press any key in-game. And this doesn't have to be in-game as in when I'm in a world, but it crashes even if I press a key in the menu or the loading screens. I first noticed this when I was trying to type the password for a server I was about to join yesterday. I have not installed any modifications nor have I modified any .plr or .wld files using any external editors. The error message I get when pressing a key is:
"System.DivideByZeroException: Yritettiin jakaa nollalla. [Finnish for "Tried to divide by zero."]
kohteessa Terraria.Main.Draw(GameTime gameTime)
kohteessa Microsoft.Xna.Framework.Game.DrawFrame()
kohteessa Microsoft.Xna.Framework.Game.Tick()
kohteessa Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
kohteessa Microsoft.Xna.Framework.GameHost.OnIdle()
kohteessa Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
kohteessa Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
kohteessa System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
kohteessa System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
kohteessa System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
kohteessa System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
kohteessa System.Windows.Forms.Application.Run(Form mainForm)
kohteessa Microsoft.Xna.Framework.WindowsGameHost.Run()
kohteessa Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
kohteessa Terraria.Program.LaunchGame(String[] args)"
"kohteessa" means "in/on/at target". The error seems to be pointing towards Microsoft XNA Framework. I have already tried the following to fix the error:
1. Verifying integrity of game cache. Terraria still crashes with the same error.
2. Fixing Microsoft XNA Framework using its installer. Seems to reinstall the whole thing, but the crash keeps happening.
3. Completely uninstalling and reinstalling Microsoft XNA Framework. The crash keeps happening.
4. Uninstalling and reinstalling Microsoft .NET Framework. I could uninstall it but not reinstall it because it claims that I still have the latest version installed. Terraria does still start so I guess it's the .NET Framework that is integrated into Windows 10 and cannot be uninstalled. Oh, did I mention the crash still happens?
5. Uninstalling and reinstalling Terraria. No luck.
6. Deleting all content from "My Games => Terraria". Nothing.
7. Checked Comodo for any sort of interference with Terraria. There wasn't any (which surprised me).
8. Ran a quick scan on Comodo. No malware.
And what I'm doing now: Running a scan on Malwarebytes Anti-malware. Currently at 93 000 objects scanned, no malware found.
I'm running Terraria 1.3.3.3 on Windows 10, with a moderate laptop running on an AMD Quad Core processor and two AMD Radeon graphics cards. I also have 8 GB of RAM. Terraria has been running properly and very smoothly at maximum fps for two years now, so I can't possibly understand why it would become incompatible overnight... Unless there is some sort of a Windows update which screwed .NET Framework or some other software up.
What could be behind this strange crash? I have tried fixing each and every thing I personally know could be the issue.
Last edited: