• Labor of Love is here! Visit our Labor of Love thread for a special message from the team, a look at brand new Labor of Love merch, and the changelog (minus a few surprises 😉)

Game constantly crashing either randomly or on Save and Exit.

Raym0ndW

Terrarian
Just started having this issue today!

Microsoft Windows 11 Pro
ROG Strix G513QR
AMD Ryzen 9 5900HX
NVIDIA GeForce 3070

Previously running Windows 11 21H2, updated earlier today to 22H2.

After the update, Terraria began to crash very randomly. I did not see a log in steam/steamapps/common/Terraria directory. I checked windows event viewer to find that I was having errors with .NET Runtime as follows:

Application: Terraria.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.File.InternalCopy(System.String, System.String, Boolean, Boolean)
at System.IO.File.Copy(System.String, System.String, Boolean)
at Terraria.Utilities.FileUtilities.Copy(System.String, System.String, Boolean, Boolean)
at Terraria.IO.WorldFile.DoRollingBackups(System.String)
at Terraria.IO.WorldFile.InternalSaveWorld(Boolean, Boolean)
at Terraria.IO.WorldFile+<>c__DisplayClass57_0.<SaveWorld>b__0()
at Terraria.Utilities.FileUtilities.ProtectedInvoke(System.Action)
at Terraria.IO.WorldFile.SaveWorld(Boolean, Boolean)
at Terraria.IO.WorldFile.SaveWorld()
at Terraria.WorldGen.saveAndPlayCallBack(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Application: Terraria.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.File.InternalCopy(System.String, System.String, Boolean, Boolean)
at System.IO.File.Copy(System.String, System.String, Boolean)
at Terraria.Utilities.FileUtilities.Copy(System.String, System.String, Boolean, Boolean)
at Terraria.Player.InternalSavePlayerFile(Terraria.IO.PlayerFileData)
at Terraria.Player+<>c__DisplayClass1706_0.<SavePlayer>b__0()
at Terraria.Utilities.FileUtilities.ProtectedInvoke(System.Action)
at Terraria.Player.SavePlayer(Terraria.IO.PlayerFileData, Boolean)
at Terraria.WorldGen.saveToonWhilePlayingCallBack(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Both with the following characteristics:
Source: .NET Runtime
Logged: 9/23/2022 10:11:30 PM
Event ID: 1026
Level: Error

Looking at the errors, it looks like it is both when it attemps to save the world and the player data. I am going to attempt a rollback to 21H2 for now, but hopefully solved soon!

Cheers!

EDIT:

Rolled back to Windows 21H2 and the issue is no longer occuring. I suppose I will sit on 21H2 until there is a solution. Priorities feel straight :D
 
Last edited:
Top Bottom