tModLoader Tmodloader on steam keeps crashing on startup

I have no idea why this is happening, I already fixed a crashing problem on the main game but I don't know if I use the same fix of deleting the steamapps folder for it or if there is something else going on.
Here is the client log for the crash:

[14:33:18] [1/INFO] [tML]: Starting tModLoader v0.11.8.4 Windows client (8/2/2021)
[14:33:18] [1/INFO] [tML]: Running on NetFramework 4.8
[14:33:18] [1/INFO] [tML]: Executable: D:\SteamLibrary\steamapps\common\tModLoader\tModLoader.exe
[14:33:18] [1/INFO] [tML]: Working Directory: D:\SteamLibrary\steamapps\common\tModLoader
[14:33:18] [1/INFO] [tML]: Launch Parameters:
[14:33:18] [1/DEBUG] [tML]: Assembly Resolve: -> MonoMod.RuntimeDetour, Version=20.11.16.1, Culture=neutral, PublicKeyToken=null
[14:33:18] [1/DEBUG] [tML]: Assembly Resolve: MonoMod.RuntimeDetour, Version=20.11.16.1, Culture=neutral, PublicKeyToken=null -> MonoMod.Utils, Version=20.11.16.1, Culture=neutral, PublicKeyToken=null
[14:33:18] [1/DEBUG] [tML]: Assembly Resolve: MonoMod.RuntimeDetour, Version=20.11.16.1, Culture=neutral, PublicKeyToken=null -> Mono.Cecil, Version=0.11.3.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e
[14:33:18] [1/DEBUG] [tML]: Assembly Resolve: -> Ionic.Zip.Reduced, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c
[14:33:18] [1/DEBUG] [tML]: Assembly Resolve: -> Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
[14:33:18] [1/DEBUG] [tML]: Assembly Resolve: -> Steamworks.NET, Version=9.1.0.0, Culture=neutral, PublicKeyToken=null
[14:33:18] [1/INFO] [tML]: Checking Steam installation...
[14:33:19] [1/INFO] [tML]: Steam installation OK.
[14:33:19] [1/INFO] [Terraria]: Found Terraria steamapp install at: D:\SteamLibrary\steamapps\common\Terraria
[14:33:19] [1/INFO] [Terraria]: Steam Cloud Quota: 151.6 MB available
[14:33:19] [1/WARN] [tML]: Silently Caught Exception:
System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.ReadCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Read(Byte[] array, Int32 offset, Int32 count)
at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
at Terraria.Utilities.FileUtilities.ReadAllBytes(String path, Boolean cloud)
at Terraria.IO.FavoritesFile.Load()
at Terraria.Main.Initialize()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame_()
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)

[14:33:19] [1/FATAL] [Terraria]: Main engine crash
System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.ReadCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Read(Byte[] array, Int32 offset, Int32 count)
at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
at Terraria.Utilities.FileUtilities.ReadAllBytes(String path, Boolean cloud)
at Terraria.IO.FavoritesFile.Load()
at Terraria.Main.Initialize()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame_()


Please if anyone knows what this means and how to fix it please let me know.
 
Okay so I've figured it out, the log was trying to tell me tmodloader didn't have permission to run, so I had to run it as an admin. Should archive this incase anyone else has this issue.
 
Back
Top Bottom