Terraria

Terraria

View Stats:
texas May 16, 2020 @ 2:46pm
2
4
HOW TO FIX TERRARIA NOT LAUNCHING (XNA Framework Error, Specifically)
EDIT: Okay well it seems there is a MUCH wider variety of errors that people are receiving than I thought. Hoping some devs see this post and can help.

EDIT 2: One user has resolved their issue by reinstalling Terraria onto the same drive as their operating system. It seems the game relies on some dependencies from the operating system itself in order to launch.

Hi all,

I've been getting this problem since before the update in which I would launch the game from Steam, the play button would turn to 'STOP' for about 5 seconds, nothing would happen and the button would turn back to 'PLAY'. I made an earlier post and I know some people have been getting the same error.

There are actually a wide range of errors that could be causing this.

STEP 1 - FIND OUT WHAT ERROR IS CAUSING THIS
  • To figure out specifically whats stopping Terraria from launching, open the Terraria properties menu on your library > open game files > find 'TerrariaServer.exe' and run it.
  • This will open a command console with you error shown in it. The console will close very quickly so press CRTL + A and then CTRL + C before it closes. Then paste this into notepad. Now you have your specific error.

I was getting this error:


Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553' or one of its dependencies. The system cannot find the file specified.
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)

STEP 2 - FIXING THE ERROR
Unfortunately, I can only speak for this specific error. However, if you have a different error, I'll be more than happy to try and help you fix it. This specific error is a problem with the Microsoft XNA Framework.
  • Go to control panel > uninstall programs > find Microsoft XNA Framework 4.0 > uninstall
  • If you don't have Microsoft XNA Framework 4.0, then obviously you can't uninstall it.
  • Next, go to this page https://www.microsoft.com/en-gb/download/details.aspx?id=20914 and download the Microsoft XNA Framework Redistributable 4.0
  • Follow the install wizard to the end.
  • Now launch Terraria and your game should work. It might show a black screen for a few seconds, or maybe that's just my crappy computer. Either way, if you had the same error as me, this should fix the problem.

Hope this helps. Hit me up if you have a different error and I'll give as much support as I can.

Last edited by texas; May 16, 2020 @ 3:25pm
< >
Showing 1-15 of 86 comments
SenseiJamesX May 16, 2020 @ 2:52pm 
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'ReLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)

Mine is different compared to yours, but in a similar formatting.
texas May 16, 2020 @ 2:55pm 
Originally posted by SSJ James:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'ReLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)

Mine is different compared to yours, but in a similar formatting.
Hmmm. This error doesn't specify anything to do with XNA Framework. However, the functions being called that are throwing the error are the same.

at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)

Have you tried uninstalling and reinstalling XNA framework?
SenseiJamesX May 16, 2020 @ 2:56pm 
Originally posted by Alexander Armstrong:
Originally posted by SSJ James:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'ReLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)

Mine is different compared to yours, but in a similar formatting.
Hmmm. This error doesn't specify anything to do with XNA Framework. However, the functions being called that are throwing the error are the same.

at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)

Have you tried uninstalling and reinstalling XNA framework?

Yeah, that was what I did, just in case, but the error message has not changed.
texas May 16, 2020 @ 2:59pm 
Originally posted by SSJ James:
Originally posted by Alexander Armstrong:
Hmmm. This error doesn't specify anything to do with XNA Framework. However, the functions being called that are throwing the error are the same.



Have you tried uninstalling and reinstalling XNA framework?

Yeah, that was what I did, just in case, but the error message has not changed.
Okay well the important part we need to figure out then is what the
[qupte]
ReLogic, Version=1.0.0.0
[/quote]

part means. I've googled this and as you can imagine there are no obvious results that help. Have you tried a full re-install?
derf May 16, 2020 @ 3:00pm 
Hey, I have this instant crash thing, but when I run the TerrariaServer.exe I get no errors at all. It just works like normal (asking for server name, port, player count, etc)
SenseiJamesX May 16, 2020 @ 3:01pm 
Originally posted by Alexander Armstrong:
Originally posted by SSJ James:

Yeah, that was what I did, just in case, but the error message has not changed.
Okay well the important part we need to figure out then is what the
ReLogic, Version=1.0.0.0

part means. I've googled this and as you can imagine there are no obvious results that help. Have you tried a full re-install?

I've done multiple full re-installs, file verifications, you name it.
texas May 16, 2020 @ 3:01pm 
Originally posted by derf:
Hey, I have this instant crash thing, but when I run the TerrariaServer.exe I get no errors at all. It just works like normal (asking for server name, port, player count, etc)

Does a window open when you launch the game?
texas May 16, 2020 @ 3:04pm 
Originally posted by SSJ James:
Originally posted by Alexander Armstrong:
Okay well the important part we need to figure out then is what the


part means. I've googled this and as you can imagine there are no obvious results that help. Have you tried a full re-install?

I've done multiple full re-installs, file verifications, you name it.
Damn. Well honestly, I'm not really sure what can be done past that. The error message you've been given seems to offer no help at all. I'll keep searching for some answers. I don't have much else to do LMAO. Hopefully some devs will see this post and be able to offer some explanations.
texas May 16, 2020 @ 3:06pm 
Originally posted by purpleeyes08:
i did everything and it didnt work
Can you paste your error here?
mizery May 16, 2020 @ 3:09pm 
When I try to run I'm getting a box that says "Please launch the game from your Steam client." I've tried launching from Steam, desktop, and the .exe and get the same message. When I open Terrariaserver.exe it just shows me the worlds I have created. I've deleted and reinstalled already as well.

Error Logging Enabled.
Terraria Server v1.4.0.1

1 Fish
2 Visage
n New World
d <number> Delete World

Choose World:
Rulohunter May 16, 2020 @ 3:11pm 
i need help i have and error to.



System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer)
at System.IO.FileStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.IO.Stream.Dispose()
at Terraria.Utilities.FileUtilities.Write(String path, Byte[] data, Int32 length, Boolean cloud)
at Terraria.IO.FavoritesFile.Save()
at Terraria.IO.FavoritesFile.SaveFavorite(FileData fileData)
at Terraria.IO.FileData.SetFavorite(Boolean favorite, Boolean saveChanges)
at Terraria.IO.WorldFile.CreateMetadata(String name, Boolean cloudSave, Int32 GameMode)
at Terraria.Main.DedServ()
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
Last edited by Rulohunter; May 16, 2020 @ 3:13pm
Pagous May 16, 2020 @ 3:13pm 
I have the following error:

Unhandled Exception: System.TypeLoadException: Could not load type 'ReLogic.OS.IWindowService' from assembly 'ReLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)

Tried reinstalling and googling the "ReLogic.OS.IWindowService" but am not able to come up with anything.
texas May 16, 2020 @ 3:14pm 
Originally posted by Pagous:
I have the following error:

Unhandled Exception: System.TypeLoadException: Could not load type 'ReLogic.OS.IWindowService' from assembly 'ReLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)

Tried reinstalling and googling the "ReLogic.OS.IWindowService" but am not able to come up with anything.
I have also tried googling around for Re-Logic assemblies but there aren't any clear results. Unfortunately this seems like it might be a problem on Re-Logic's end.
ExtinctCanadian May 16, 2020 @ 3:17pm 
when i launch terraria theres no popups or anything it just doesnt launch
texas May 16, 2020 @ 3:18pm 
Originally posted by Happy Extinct Canadian Turtle:
when i launch terraria theres no popups or anything it just doesnt launch
Hi, Have you tried opening the TerrariaServer.exe and seeing if it shows you an error?
< >
Showing 1-15 of 86 comments
Per page: 1530 50