PC So after Installing Windows 10, this pops up every time I try to play Terraria

dcinfinity

Terrarian
Microsoft.Xna.Framework.Content.ContentLoadException: Error loading "Images\CraftButton". File not found. ---> System.IO.FileNotFoundException: Error loading "Content\Images\CraftButton.xnb". File not found.
at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name)
at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName)
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName)
at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject)
at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName)
at Terraria.Main.LoadContent()
at Microsoft.Xna.Framework.Game.Initialize()
at Terraria.Main.Initialize()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.Main(String[] args)

On top of this, Terraria just won't launch from Steam. I have to find it in my folder to launch it now. Verifying the game cache seems to fix this error, but not the Steam launch, and it keeps happening over and over again...
 
it is a permission problem, uninstall xna framework in program & features and Steam will reinstall it next launch of the game
 
I'm having a similar problem. I just installed Windows 10, and I get a similar error.

System.Threading.SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code.
at Terraria.IO.Preferences.Save(Boolean createFile)
at Terraria.Main.SaveSettings0
at Terraria.Main.OpenSettings0
at Terraria.Main.Initialize0
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame(String[] args)

I saw that someone on the Steam forums had had a similar issue awhile back, and they had changed a 'true' to a 'false' in their config, so I tried that.

I have uninstalled and reinstalled the game twice.

The second time, I uninstalled Steam, then I restarted my computer before reinstalling Steam and then Terraria.

I also uninstalled the XNA and let it reinstall via Steam, but I still have this problem.
 
Last edited:
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 Requirements, 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.

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

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 PRINT SCR key on your keyboard to paste your current monitor to the clipboard.
  • 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
  • Processor: 1.6 Ghz (Single Core)
  • Memory: 512 MB
  • Hard Disk Space: 200 MB
  • Video Card: 128 MB Video Memory, Shader Model 1.1 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.dat 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.dat file from this location.
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.
 
I have a Samsung computer.

I have Windows 10
Processor: Intel(R) Core(TM) i5-3470T CPU @ 2.90GHz 2.90GHz
Installed RAM: 6.00 GB (5.89 GB usable)
System Type:64-bit operating system, x64-based processor



Here is my error message.


I purchased my copy of Terraria through Steam. It is a valid copy.

I have already tried everything on the copy/paste above before I ever posted in this forum...
I verified the integrity of my cache through Steam...
I changed the rights of my Xna. Framework files.

My Xna and NET frameworks are up-to-date according to Microsoft.

Is there any other info that I should post?

I am still looking for other solutions.
 
Okay...

I did another uninstall/reinstall...

I reset my compatibility to Windows 8... It's the first thing I tried before everything, and it didn't work... I don't know why, but when I ran the compatibility troubleshooter this time, it actually worked after it did it's thing. I am sure I must have forgotten something, but I don't know what.

Anyways, in the troubleshooter, I selected that I was having issues with the permissions, and the I selected "Test the Program"...

I wish it would have been this easy right away.
 
Try that (you will not loose saves, make a backup if you are unsure of Documents\My Games\Terraria)

1) Uninstall Terraria in Steam (delete local content)
2) Uninstall XNA Framework in Program and Features
3) Stop Steam and make sure Steam.exe is not launched in the task manager
4) Go in Steam folder
5) Right click Steam.exe > Properties > Compatibility tab > check Always run as admin (should be last checkbox)
6) Run Steam
7) Install Terraria (but do not run it)
8) Right click \steam\steamapps\common\Terraria\xnafx40_redist\xnafx40_redist.msi
9) Run as administrator
10) Run Terraria in Steam when the XNA install is completed

Also make sure to not add any compatibility mode to Terraria.exe, revert the change you have previously mentionned you shouldnt need to touch this setting
 
I'm having a similar problem. I just installed Windows 10, and I get a similar error.

System.Threading.SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code.
at Terraria.IO.Preferences.Save(Boolean createFile)
at Terraria.Main.SaveSettings0
at Terraria.Main.OpenSettings0
at Terraria.Main.Initialize0
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame(String[] args)

I saw that someone on the Steam forums had had a similar issue awhile back, and they had changed a 'true' to a 'false' in their config, so I tried that.

I have uninstalled and reinstalled the game twice.

The second time, I uninstalled Steam, then I restarted my computer before reinstalling Steam and then Terraria.

I also uninstalled the XNA and let it reinstall via Steam, but I still have this problem.
I have that esact thing I need help wit that
 
Back
Top Bottom