Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on mod load #10

Open
Zemogiter opened this issue Aug 25, 2023 · 0 comments
Open

Error on mod load #10

Zemogiter opened this issue Aug 25, 2023 · 0 comments

Comments

@Zemogiter
Copy link

Running on latest stable version of tmodloader.
The error:

[22:13:01.384] [.NET ThreadPool Worker/ERROR] [tML]: An error occurred while loading BetterChests v1.7.1.1
The mod(s) have been automatically disabled.
Newtonsoft.Json.JsonException: Exception of type 'Newtonsoft.Json.JsonException' was thrown.
   at BetterChests.SortOption.SortOptionToStringConverter.ReadJson(JsonReader reader, Type objectType, SortOption existingValue, Boolean hasExistingValue, JsonSerializer serializer) in BetterChests/src/SortOption.cs:line 52
   at Newtonsoft.Json.JsonConverter`1.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Populate(JsonReader reader, Object target)
   at Newtonsoft.Json.JsonSerializer.PopulateInternal(JsonReader reader, Object target)
   at Newtonsoft.Json.JsonConvert.PopulateObject(String value, Object target, JsonSerializerSettings settings)
   at Terraria.ModLoader.Config.ConfigManager.Load(ModConfig config) in tModLoader\Terraria\ModLoader\Config\ConfigManager.cs:line 208
   at Terraria.ModLoader.Config.ConfigManager.Add(ModConfig config) in tModLoader\Terraria\ModLoader\Config\ConfigManager.cs:line 70
   at Terraria.ModLoader.Mod.AddConfig(String name, ModConfig mc) in tModLoader\Terraria\ModLoader\Mod.cs:line 123
   at Terraria.ModLoader.Mod.AutoloadConfig() in tModLoader\Terraria\ModLoader\Mod.cs:line 113
   at Terraria.ModLoader.ModContent.<>c.<Load>b__42_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 281
   at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 368
   at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 277
   at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 127
[22:13:01.386] [.NET ThreadPool Worker/INFO] [tML]: Disabling Mod: BetterChests

Full log: client.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant