JavidPack / RecipeBrowser

RecipeBrowser mod for tModLoader
https://forums.terraria.org/index.php?threads/recipe-browser.62462/
80 stars 51 forks source link

tModLoader 0.11.7.7 build #59

Closed hauntingEcho closed 4 years ago

hauntingEcho commented 4 years ago

When attempting to run Recipe Browser via tModLoader on Steam on Debian Stable, I'm getting this error:

[21:16:04] [Thread Pool Worker/ERROR] [tML]: An error occurred while loading RecipeBrowser
It has been detected that this mod was built for tModLoader v0.11.6.2
However, you are using tModLoader v0.11.7.7
The mod(s) have been automatically disabled.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'Microsoft.Xna.Framework.Vector2'. Path '', line 1, position 2. ---> System.ArgumentException: Could not cast or convert from {null} to Microsoft.Xna.Framework.Vector2.
  at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (Object value, Type initialType, Type targetType) [0x00067] in data-0x7fc346480010 
  at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (Object initialValue, CultureInfo culture, Type targetType) [0x00036] in data-0x7fc346480010 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) [0x000bb] in data-0x7fc346480010 
   --- End of inner exception stack trace ---
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) [0x000eb] in data-0x7fc346480010 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EndProcessProperty (Object newObject, JsonReader reader, JsonObjectContract contract, Int32 initialDepth, JsonProperty property, PropertyPresence presence, Boolean setDefaultValue) [0x00175] in data-0x7fc346480010 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) [0x002d4] in data-0x7fc346480010 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Populate (JsonReader reader, Object target) [0x00136] in data-0x7fc346480010 
  at Newtonsoft.Json.JsonSerializer.PopulateInternal (JsonReader reader, Object target) [0x00050] in data-0x7fc346480010 
  at Newtonsoft.Json.JsonSerializer.Populate (JsonReader reader, Object target) [0x00000] in data-0x7fc346480010 
  at Newtonsoft.Json.JsonConvert.PopulateObject (String value, Object target, JsonSerializerSettings settings) [0x00013] in data-0x7fc346480010 
  at Terraria.ModLoader.Config.ConfigManager.Load (ModConfig config) [0x0009d] in tModLoader.exe 
  at Terraria.ModLoader.Config.ConfigManager.Add (ModConfig config) [0x00000] in tModLoader.exe 
  at Terraria.ModLoader.Mod.AddConfig (String name, ModConfig mc) [0x0000e] in tModLoader.exe 
  at Terraria.ModLoader.Mod.AutoloadConfig () [0x000f6] in tModLoader.exe 
  at Terraria.ModLoader.ModContent+<>c.<Load>b__38_0 (Mod mod) [0x0000d] in tModLoader.exe 
  at Terraria.ModLoader.ModContent.LoadModContent (CancellationToken token, Action[T] loadAction) [0x00065] in tModLoader.exe 
  at Terraria.ModLoader.ModContent.Load (CancellationToken token) [0x0001b] in tModLoader.exe 
  at Terraria.ModLoader.ModLoader.Load (CancellationToken token) [0x00098] in tModLoader.exe 
JavidPack commented 4 years ago

Seems like your config is corrupted, go delete :\Documents\My Games\Terraria\ModLoader\Mod Configs\RecipeBrowser_RecipeBrowserClientConfig.json" and try again

hauntingEcho commented 4 years ago

That file didn't exist. Running tModLoader-kick rather than tModLoader-mono resolved the issue for me, as well as the issue I was having with BossChecklist. I had been using tModLoader-mono to work around cert issues. Thanks for the response though!

hol430 commented 2 years ago

Commenting here in case it helps anyone else. I had the same issue on arm64 mono 5.18. Upgrading to mono 6.12 solved the problem.