tModLoader

tModLoader

Fargo's Mutant Mod
Sakura 6 Aug, 2023 @ 3:52am
Error when using with Gensokyo
TModLoader throws a NullReferenceException when using Mutant Mod with Gensokyo mod. Tested with only both mods enabled and removing Mutant Mod lets Gensokyo to load properly.
Log:

[13:48:40.722] [.NET ThreadPool Worker/INFO] [tML]: Resizing... [13:48:41.130] [.NET ThreadPool Worker/INFO] [tML]: Configuring Content: ModLoader (tModLoader) v2023.6.25.29 [13:48:41.240] [.NET ThreadPool Worker/INFO] [tML]: Configuring Content: Fargowiltas (Fargo's Mutant Mod) v3.0 [13:48:41.372] [.NET ThreadPool Worker/INFO] [tML]: Configuring Content: Gensokyo (Gensokyo) v0.11.22.11 [13:48:41.730] [.NET ThreadPool Worker/INFO] [tML]: Finalizing Content: ModLoader (tModLoader) v2023.6.25.29 [13:48:41.827] [.NET ThreadPool Worker/INFO] [tML]: Finalizing Content: Fargowiltas (Fargo's Mutant Mod) v3.0 [13:48:41.928] [.NET ThreadPool Worker/INFO] [tML]: Finalizing Content: Gensokyo (Gensokyo) v0.11.22.11 [13:48:42.027] [.NET ThreadPool Worker/INFO] [tML]: RAM: tModLoader usage: 1.7 GB, All processes usage: 11.9 GB, Available: 20.0 GB, Total Installed: 31.8 GB [13:48:42.136] [.NET ThreadPool Worker/DEBUG] [tML]: GlobalItem registration stats. Count: 3, Slots per Entity: 61 Instanced: 2, Conditional with slot: 0, Conditional by type: 0, Applies to single type: 0 List Permutations: 1, Est Memory Consumption: 16 bytes [13:48:42.195] [.NET ThreadPool Worker/DEBUG] [tML]: GlobalNPC registration stats. Count: 5, Slots per Entity: 178 Instanced: 3, Conditional with slot: 0, Conditional by type: 0, Applies to single type: 0 List Permutations: 1, Est Memory Consumption: 16 bytes [13:48:42.215] [.NET ThreadPool Worker/DEBUG] [tML]: GlobalProjectile registration stats. Count: 2, Slots per Entity: 50 Instanced: 2, Conditional with slot: 0, Conditional by type: 0, Applies to single type: 0 List Permutations: 1, Est Memory Consumption: 16 bytes [13:48:42.324] [.NET ThreadPool Worker/ERROR] [tML]: An error occurred while loading Gensokyo v0.11.22.11 The mod(s) have been automatically disabled. System.NullReferenceException: Object reference not set to an instance of an object. at Gensokyo.NPCs.GensokyoGlobalNPC.ModifyShop(NPCShop shop) in GensokyoGlobalNPC.cs:line 143 at Terraria.ModLoader.NPCLoader.ModifyShop(NPCShop shop) in tModLoader\Terraria\ModLoader\NPCLoader.cs:line 1211 at Terraria.ModLoader.NPCShopDatabase.Initialize() in tModLoader\Terraria\ModLoader\NPCShopDatabase.cs:line 78 at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 340 at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 127 [13:48:42.325] [.NET ThreadPool Worker/INFO] [tML]: Disabling Mod: Gensokyo [13:51:03.118] [Main Thread/DEBUG] [tML]: Process.Start (UseShellExecute = True): "tModLoader-Logs"