tModLoader

tModLoader

ben May 5, 2023 @ 4:11pm
My tml keeps crashing when I boot it
Everytime I start the tml (tmodloader) it gets past the Re-Logic screen and then crashes with this error being the only thing it tells me. I have tried so many different things and I am ready to admit defeat. Could anyone help me out here?

[18:56:12.736] [Main Thread/FATAL] [tML]: Main engine crash

Tip: This is likely a mod's fault. Disable mods one by one and check if the issue persists

System.NullReferenceException: Object reference not set to an instance of an object.
at Terraria.Graphics.Renderers.LegacyPlayerRenderer.DrawPlayerInternal(Camera camera, Player drawPlayer, Vector2 position, Single rotation, Vector2 rotationOrigin, Single shadow, Single alpha, Single scale, Boolean headOnly) in tModLoader\Terraria\Graphics\Renderers\LegacyPlayerRenderer.cs:line 221
at Terraria.Graphics.Renderers.LegacyPlayerRenderer.DrawPlayer(Camera camera, Player drawPlayer, Vector2 position, Single rotation, Vector2 rotationOrigin, Single shadow, Single scale) in tModLoader\Terraria\Graphics\Renderers\LegacyPlayerRenderer.cs:line 118
at Terraria.GameContent.UI.Elements.UICharacter.DrawSelf(SpriteBatch spriteBatch) in tModLoader\Terraria\GameContent\UI\Elements\UICharacter.cs:line 68
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 171
at Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 130
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 185
at Terraria.GameContent.UI.Elements.UIList.UIInnerList.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\GameContent\UI\Elements\UIList.cs:line 25
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 185
at Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 130
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 185
at Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 130
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 185
at Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 130
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 185
at Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 130
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 185
at Terraria.GameContent.UI.States.UICharacterSelect.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\GameContent\UI\States\UICharacterSelect.cs:line 375
at Terraria.UI.UserInterface.Draw(SpriteBatch spriteBatch, GameTime time) in tModLoader\Terraria\UI\UserInterface.cs:line 261
at Terraria.Main.DrawMenu(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 39882
at Terraria.Main.DoDraw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 49137
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 48723
at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 562
at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878
at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419
at Terraria.Program.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 231
[18:56:12.740] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: shutdown
< >
Showing 1-15 of 16 comments
ben May 5, 2023 @ 4:13pm 
I have also tried checking the mods. I've even deleted them and unsubscribed. I am somewhat sure it can't be that.
Gerry May 5, 2023 @ 6:55pm 
same problem, nothing works, terraria uninstalled, tml uninstalled, ALL game files deleted, pc restart, verify the files.
Acid May 5, 2023 @ 9:52pm 
Same here, please if you find a fix let me know. its the same fatal error as you.
DV May 6, 2023 @ 11:55am 
have the same problem. tried all thungs above too

after trying earasing "terraria" folder from "Documents" folder i gain acces to creating player screen, but exporting or creating new player causes the same issue
Last edited by DV; May 6, 2023 @ 12:19pm
delish fish May 6, 2023 @ 12:15pm 
the same thing happened to me while opening tmodloader again after closing it a few minutes before
Casual May 6, 2023 @ 12:33pm 
does it let the game load before it shows you the error?
wootzy May 6, 2023 @ 1:13pm 
i deleted the "content" folder in tmodloader install folder, did a file check, it redownloaded the folder and now the game works again for me
Criminauer May 6, 2023 @ 1:19pm 
Same here, there isnt any fixing method right now?
Acid May 6, 2023 @ 2:18pm 
Originally posted by wootzy:
i deleted the "content" folder in tmodloader install folder, did a file check, it redownloaded the folder and now the game works again for me
This still didnt fix it, i tried the same method and it still crashes along with the same fatal error.
Bisent May 6, 2023 @ 4:04pm 
i have the same issue
Bisent May 6, 2023 @ 4:04pm 
u know how to fix it ?
Acid May 6, 2023 @ 10:27pm 
Someone found a Fix that worked. If you are running the steam client beta it will corrupt some files. If you go back to the old steam client it should fix TModLoader. it worked for me at least.
DV May 7, 2023 @ 3:08am 
Originally posted by Acid:
Someone found a Fix that worked. If you are running the steam client beta it will corrupt some files. If you go back to the old steam client it should fix TModLoader. it worked for me at least.
This actualy works? Thanks
Skullbanditcamp May 7, 2023 @ 4:16am 
Originally posted by Acid:
Someone found a Fix that worked. If you are running the steam client beta it will corrupt some files. If you go back to the old steam client it should fix TModLoader. it worked for me at least.

I would have never guessed that would work. Thank you:)
< >
Showing 1-15 of 16 comments
Per page: 1530 50

Date Posted: May 5, 2023 @ 4:11pm
Posts: 16