PC Terraria crashes after start screen!

Pikadaboi

Terrarian
So I haven't played Terraria in a while and I started to get back into it when 1.3.1 came out. I started it up and the start screen with the title comes on.
Then it crashes and displays this error message.
116087-c51206bb463dead93a2a4e86ebae0aec.jpg

I verified the game cache and deleted and reinstalled the game. I disabled my cloud save characters and worlds then deleted all my local characters and worlds.
Here are my PC specs.
Windows 10
AMD FX 8150 8-core Processor
64-bit operating system
GeForce GTX 760
Any solutions?
 

Attachments

  • Error.PNG
    Error.PNG
    46.1 KB · Views: 972
I have the same problem. Deleted game, reinstalled. Reinstalled Framework, deleted local content, reinstalled. Deleted config.json. ran compatibility mode, validated game files... changed permissions... nothing works. I was running the game fine 1 day ago now when i try it goes to the Relogic screen and when that passes or i click it crashes with his error
 
You should read the FAQ Section about your XNA/.NET and the XINPUt issue:

Read the Troubleshooting about the Divide by Zero.

Hi,

Welcome to PC Support Section.

ATTENTION
As of late 1.3 release, the Re-Logic Team and Developers require/urge that you post your System Specifications, Current Installed .NET Framework Versions, and DXDiag Logs. They cannot help fix bugs or technical issues with games if users ignore this matter! Help them before beginning a thread without providing all detailed information.

Helpful Links (READ BEFORE POSTING)
Bug Reports | Technical Issues

WARNING
Please make sure you have 4.5.2 .NET Framework or later installed for Terraria on your System! It is mandatory for the latest version.

In order to further assist you, please verify the following information below before proceeding. Please, we remind you that Terraria has certain requirements in order to function properly on your system. If you fail to check these requirements you may encounter errors or issues.

To avoid errors or mistakes, please consider posting your System Specifications. You can obtain this information by Right-Clicking My Computer on your system. You will get basic information about your Processor and RAM. If you wish to get a full detailed list, you can use third party software to determine your specifications or salvage the information from the Device Manager (Advanced Users). You may also use the available and recommended Third Party Software to gain your full system specifications for our technicians.

How to improve your support thread
  • Post screenshots of errors
    • You can use the
      Rth9Tcm.png
      key on your keyboard to paste your current monitor to the clipboard.
      • Click the window that you want to copy.
      • Press ALT+PRINT SCREEN. Important The text you see on your keyboard might be PrtSc, PrtScn, or PrntScrn. The other text on the Print Screen key is usually SysRq.
      • Paste (CTRL+V) the image into a Microsoft Office program or other application.
  • Provide your system specifications
  • Provide your current mandatory dependencies versions (XNA & .NET)

Be reminded this post is intended to simplify your next reply and ease our troubleshooting. If you fail to provide detailed information, it becomes a tedious task to determine what caused your problem. Please be kind enough to follow these simple steps and helpful tips!

NOTE: If you are using an illegal copy of the game, you will receive no support, this process determines if you are using a legal copy.

Before you ask, check in these threads to solve your issues:


Available Third Party Software
System Requirements
  • OS: Windows XP, Vista, 7, 8.1, 10
  • Processor: 2.0 Ghz (Single Core)
  • Memory: 2.5 GB
  • Hard Disk Space: 200 MB
  • Video Card: 128 MB Video Memory, Shader Model 2.0+ Support
  • DirectX®: 9.0c or Greater
Recommended System Requirements (Max Settings)
  • OS: Windows XP, Vista, 7, 8.1, 10
  • Processor: Dual Core 3.0 Ghz
  • Memory: 4 GB
  • Hard Disk Space: 200 MB
  • Video Card: 256 MB Video Memory, Shader Model 2.0+ Support
  • DirectX®: 9.0c or Greater

Game Dependencies (MUST Install)
Troubleshooting Your Problem with TerrariaServer.exe
In order to figure out what your problem is with the game, we require that you run the Terraria Server Client (TerrariaServer.exe). This will display any errors or successes on launch. Should there be any errors from the program itself, use the command prompt and copy the error to display it here.
  1. Right click within the Command Prompt.
  2. In the drop-down menu, select Mark.
  3. Once you made a selection, Right Click or Press Enter to copy.
  4. Paste your results in your thread.
If you have trouble with the above instructions, your system might be showing "Not Responding" or your System may need to be rebooted to start clean.

Before proceeding any further, please delete the config.json file located in your Terraria Folder under My Documents/My Games. Then start Terraria again, this may fix some unexplained issues, but we wish to make sure you are running a nice and clean installation:
  1. Locate My Documents Folder.
  2. Open My Games Folder.
  3. Open Terraria Folder.
  4. Delete Config.json file from this location.
Installing / Re-Installing XNA and .NET Framework 4.5.2 or Better
You may be experiencing these issues with a faulty installation, and even worst your system might the be problem to this. Attempt to uninstall both XNA and .NET Framework from your machine, be advised, do not uninstall the pre-installed versions of .NET Framework that came with your system! Once you have successfully re-installed your XNA and .NET Framework you may attempt to try Terraria again.
Verify Terraria's Steam Cache
If your game is unresponsive at times it is recommended you do a Verify Steam Cache with the game provided for Steam (This does not include GOG Version).
  1. Goto My Library on Steam.
  2. Right-Click Terraria and Select Properties.
  3. Goto Local Files Tab.
  4. Now Select Verify Integrity of Game Cache.
If you have trouble with the above instructions, you may be using a different provider or retailer.
Frequently Asked Questions

Q: My world has corrupted somehow and will not load properly, what can I do?
A: You may have corrupted the world by using modded clients, computer shutdown before the world could complete the save, or system failure within Terraria that caused the problem. You can try attempting to load your world using TEdit (Download).

Q: My game is not launching, or I get errors regarding XNA/.NET Framework!
A: You can attempt to make sure you have all Game Dependencies first, then try attempting this solution:

If you don't feel like sifting through all that, it's basically to do with the framework permissions.

This is how you change the right to use Framework/XNA:
  1. Right-Click the specific directory (Listed Below).
  2. Select Properties.
  3. Select the Security Tab
  4. Click on Advanced Option
  5. Select the Owner Tab
  6. Click on the bottom button to Edit.
  7. On this window select the Administrator in the row and make sure to select the Checkboxes below.
  8. Hit Apply and close all the windows.
  9. Try running the game again.
Do the above for all of the following FOLDERS:

C:\Windows\Microsoft.NET\assembly\GAC_32:
Microsoft.Xna.Framework\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Game\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Graphics\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Xact\v4.0_4.0.0.0__842cf8be1de50553

C:\Windows\Microsoft.NET\assembly\GAC_MSIL:
Microsoft.Xna.Framework.Avatar\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.GamerServices\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Input.Touch\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Net\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Storage\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Video\v4.0_4.0.0.0__842cf8be1de50553

Q: Steam has reported that one (1) file has failed verification and was downloaded?
A: This file is known as the serverconfig.txt file. Originally this file shouldn't be packed with the game as Terraria should create this file automatically on launch if it is missing or out of date. Due to it being changed and updated by server owners, the file will constantly fail the verification process. This has no effect on playing the game, and can be ignored.

Q: I am experiencing low frame rate for Terraria, but the machine passes as recommended?
A: If you are using nVidia Control Panel, you can select Terraria.exe process and change the specifications on how your graphic card handles the game. Follow these instructions:
  1. Open nVidia Control Panel.
  2. Select Manage 3D Settings.
  3. Choose Program Settings Tab.
  4. Select Terraria as current program.
  5. Turn Triple buffering and Vertical sync to On.
  6. Run Terraria and turn Frame Skip to Off.
  7. The application should be running better than your current setup.
Alternate Solution (The Aero Mode Bug)
  1. Goto your Desktop.
  2. Right Click and Select Personalize.
  3. Enable Aero Mode by selecting an Aero Background Option.
  4. You can also go Fullscreen Mode while Disabled Aero Mode.
Q: Experiencing an XAudio Driver Issue?
A: Check this out about the error: http://forums.terraria.org/index.ph...out-due-to-xaudio2_6-dll-on-windows-10.32894/

Q: Missing XInput Driver for the game?
A: You can download Microsoft DirectX Web Installer and fix this issue properly. We do not recommend searching for the driver (DLL) manually. Download it here.
 
After messing with all this stuff, game no longer goes to the Re-Logic screen... it just says "running" in steam the syncs then nothing. No errors listed. It also wont create a Terraria folder in my My Games anymore.

EDIT: I also did not have a divide by 0 error... once again, cannot reinstall .NET Framework as my PC has 4.5.2 by default with Windows 10. already done all the other methods of repair such as uninstalling, validating files, reinstalling XNA, checking permissions, disabling cloud...

This was the code I was getting before it stopped completely:
Code:
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at Microsoft.Xna.Framework.Input.UnsafeNativeMethods.GetState(PlayerIndex playerIndex, XINPUT_STATE& pState)
   at Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex playerIndex, GamePadDeadZone deadZoneMode)
   at Terraria.GameInput.PlayerInput.GamePadInput()
   at Terraria.GameInput.PlayerInput.UpdateInput()
   at Terraria.Main.Update(GameTime gameTime)
   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 Terraria.Program.LaunchGame(String[] args)
 
Last edited:
You must restart your pc after uninstalling or installing XNA and .NET. That is a total of 4 restarts in all. Latest version of .NET is 4.6.1
 
You must restart your pc after uninstalling or installing XNA and .NET. That is a total of 4 restarts in all. Latest version of .NET is 4.6.1
Yeah, did all that... used the .NET cleanup tool to remove all .NET did the restarts... went to install the. NET 4.6.1 and it said i have it or a newer version... game still will not start
 
Yeah, did all that... used the .NET cleanup tool to remove all .NET did the restarts... went to install the. NET 4.6.1 and it said i have it or a newer version... game still will not start

Are you using a GamePad, or is one even connected to your system (using it or not)? Have you made sure you have DirectX installed properly? Double check by running the DirectX Web installer.
 
Are you using a GamePad, or is one even connected to your system (using it or not)? Have you made sure you have DirectX installed properly? Double check by running the DirectX Web installer.
No, not using a gamepad. I ran the direct x installer, but still fails
 
Last edited:
Yes, and even restarted again.

The only recommendation I have when something like this comes up is start windows clean again, wipe your drive and start over. Yeah its the most destructive issue, but even on google when I search this error, MANY have no solution to this problem. .NET is one of the worst program languages to be used in games, and Stardew Valley suffers the same issue with this.

When I had these problems, I wiped my pc and started over. You can try thie dll driver that is in the FAQ and see if this resolves your issue. Refer to XAudio Issue in the FAQ.
 
can you give me a link to this? I looked for the FAQ earlier and could not find it... I'm navigating via cell phone
 
Sorry I completely forgot about this whole thread! Here's my dxdiag with some personal information deleted off.
 

Attachments

  • DxDiag.txt
    76.5 KB · Views: 317
Sorry I completely forgot about this whole thread! Here's my dxdiag with some personal information deleted off.

Good Day,

If you are still having this issue and you haven't done any of these things, please try them first and in that order:

  1. Uninstall XNA.
  2. Windows 10 can't uninstall .NET Frameworks apparently, though if you can try, give it a go. The latest version is 4.6.1, so make sure to do that one. if Not, ignore this step.
  3. Restart your PC
  4. Install XNA from microsoft website.
  5. Start Steam, uninstall Terraria via Delete Local Content
  6. Goto Steam/steamapps/common and Delete Terraria.
  7. Restart Steam.
  8. Install Terraria.
  9. Goto Terraria Documents folder in My Documents/My Games, and delete the Config.json file.
  10. Try launching it and send errors if there are any.
 
Good Day,

If you are still having this issue and you haven't done any of these things, please try them first and in that order:

  1. Uninstall XNA.
  2. Windows 10 can't uninstall .NET Frameworks apparently, though if you can try, give it a go. The latest version is 4.6.1, so make sure to do that one. if Not, ignore this step.
  3. Restart your PC
  4. Install XNA from microsoft website.
  5. Start Steam, uninstall Terraria via Delete Local Content
  6. Goto Steam/steamapps/common and Delete Terraria.
  7. Restart Steam.
  8. Install Terraria.
  9. Goto Terraria Documents folder in My Documents/My Games, and delete the Config.json file.
  10. Try launching it and send errors if there are any.
Question. Is this supposed to happen? Also ima try and update my .net to see if it persists.
For now I have a serious craving for Terraria.
 

Attachments

  • Capture.PNG
    Capture.PNG
    40.3 KB · Views: 336
Good Day,

If you are still having this issue and you haven't done any of these things, please try them first and in that order:

  1. Uninstall XNA.
  2. Windows 10 can't uninstall .NET Frameworks apparently, though if you can try, give it a go. The latest version is 4.6.1, so make sure to do that one. if Not, ignore this step.
  3. Restart your PC
  4. Install XNA from microsoft website.
  5. Start Steam, uninstall Terraria via Delete Local Content
  6. Goto Steam/steamapps/common and Delete Terraria.
  7. Restart Steam.
  8. Install Terraria.
  9. Goto Terraria Documents folder in My Documents/My Games, and delete the Config.json file.
  10. Try launching it and send errors if there are any.
THANK YOU =D
 
Back
Top Bottom