T
fascinating-indigo
[GOG] [v1.4.4.9-v2023.11.3.3] System.NullReferenceException when trying to download mods
Kernel: x86_64 Debian Linux 6.1.0-15-amd64 CPU: i5-11400 @ 12x4.4GHz [44.0°C] GPU: UHD Graphics 730
RAM: 972MiB / 11686MiB
Clean install of Terraria, base program works without errors for multiple days in a world.
When running tModLoader, the program works fine on launch and menus work fine as well, but clicking the [Download Mods] button causes a fatal crash.
No mods are installed, nor texturepacks used.
2 Replies
fascinating-indigoOP•2y ago
tModLoader v2023.11.3.3 Error
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.GameContent.UI.Elements.UIList.RecalculateChildren() in tModLoader\Terraria\GameContent\UI\Elements\UIList.cs:line 106
at Terraria.UI.UIElement.Recalculate() in tModLoader\Terraria\UI\UIElement.cs:line 255
at Terraria.GameContent.UI.Elements.UIList.Recalculate() in tModLoader\Terraria\GameContent\UI\Elements\UIList.cs:line 91
at Terraria.UI.UIElement.RecalculateChildren() in tModLoader\Terraria\UI\UIElement.cs:line 318
at Terraria.UI.UIElement.Recalculate() in tModLoader\Terraria\UI\UIElement.cs:line 255
at Terraria.UI.UIElement.RecalculateChildren() in tModLoader\Terraria\UI\UIElement.cs:line 318
at Terraria.UI.UIElement.Recalculate() in tModLoader\Terraria\UI\UIElement.cs:line 255
at Terraria.UI.UIElement.RecalculateChildren() in tModLoader\Terraria\UI\UIElement.cs:line 318
at Terraria.UI.UIElement.Recalculate() in tModLoader\Terraria\UI\UIElement.cs:line 255
at Terraria.UI.UserInterface.Draw(SpriteBatch spriteBatch, GameTime time) in tModLoader\Terraria\UI\UserInterface.cs:line 236
at Terraria.Main.DrawMenu(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 43711
at Terraria.Main.DoDraw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 53278
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52853
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52834
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.RunGame() in tModLoader\Terraria\Program.cs:line 266
We've seen this before but haven't found a reason for it yet. You can subscribe to mods on the steam workshop directly instead as a workaround