tModLoader / tModLoader

A mod to make and play Terraria mods. Supports Terraria 1.4 (and earlier) installations
https://www.tmodloader.net/
MIT License
4.19k stars 1.88k forks source link

Crash error when loading or disabling one or more mods #4395

Closed 5s188 closed 1 month ago

5s188 commented 1 month ago

Version

Latest 1.4.4-stable

OS

Windows

Platform

Steam

This bug affects...

Mod capability as a Modder

Description

Every time I play the game, when the mod interface is reloaded, enabled, or uninstalled, I often get a mod crash error, the picture is as follows:

Terraria报错

At first I thought it was the version of the mod and the compatibility problem, and then I repeatedly disabled and enabled it back and forth to find the problem mod, when I thought I found this mod and disabled it, and this problem appeared when other mods were enabled, and then I thought it was too many mods loaded, but I specifically tested that loading a mod would also have this problem, and sometimes loading all the mods did not have a problem, and there were frequent and irregular crashes and errors. What is the cause of this and what is the solution? this Makes me very distressed, this is the first time I play tModloader, I have never tried it before, I have been playing the original version, and after playing 600+ hours in the original version, I was bored, so I came to try tModloader, and there was a problem when it came up, during which I checked all kinds of information and strategies, and still couldn't find a way to solve the problem.

Log File

client.log

Steps to reproduce

  1. First I enter the game via steam or desktop shortcuts. 2. Click on the main interface of the game to enter the mod manager interface. 3. Enable or disable one or more mods. 4. Click Back to reload. 5. There was a crash during loading. 6. The crash picture is as follows: Terraria报错

Expected Behavior

Under normal circumstances, the loading is finished and the main page of the game is successfully returned.

Actual Behavior

In fact, a crash error occurred when loading the mod. The picture is as follows:

Terraria报错

Reproduction frequency

It basically happens every time.

Additional Information

No response

JavidPack commented 1 month ago

We usually see this error with the TerrariaAmbience mod. Disable it and try again.

5s188 commented 1 month ago

我们通常会在 TerrariaAmbience Mod 中看到这个错误。禁用它,然后重试。

Yes, through today's test, I found that it is the problem, only to it enabled or disabled, this problem appeared, after he unsubscribed, the state resumed. Thank you very much for your answer.

JavidPack commented 1 month ago

I think you accidentally reopened this.