tModLoader

tModLoader

Polarities
Bug report - mod does not load, throws exception when trying to load the Eclipxie music
The game catches an exception and cancels loading when it tries to load Polarities. The relevant section of the log is as follows:

[20:54:23.458] [.NET TP Worker/WARN] [tML]: Silently Caught Exception:
System.ArgumentException: An item with the same key has already been added. Key: Polarities/Assets/Sounds/Music/Eclipxie
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at Terraria.ModLoader.MusicLoader.AddMusic(Mod mod, String musicPath) in tModLoader\Terraria\ModLoader\MusicLoader.cs:line 100
at Terraria.ModLoader.MusicLoader.AutoloadMusic(Mod mod) in tModLoader\Terraria\ModLoader\MusicLoader.cs:line 188
at Terraria.ModLoader.Mod.Autoload() in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 76
at Terraria.ModLoader.ModContent.<>c.<Load>b__45_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 309
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 444
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 304
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 134
at Terraria.ModLoader.ModLoader.<>c__DisplayClass48_0.<BeginLoad>b__0() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 112
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

[20:54:23.459] [.NET TP Worker/INFO] [tML]: Disabling Mod: Polarities
[20:54:23.459] [.NET TP Worker/ERROR] [tML]: An error occurred while loading Polarities v0.12.3
It has been detected that this mod was built for tModLoader v2025.1.3.1
However, you are using tModLoader v2025.3.3.1
The mod(s) and any dependencies have been automatically disabled.
System.ArgumentException: An item with the same key has already been added. Key: Polarities/Assets/Sounds/Music/Eclipxie
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at Terraria.ModLoader.MusicLoader.AddMusic(Mod mod, String musicPath) in tModLoader\Terraria\ModLoader\MusicLoader.cs:line 100
at Terraria.ModLoader.MusicLoader.AutoloadMusic(Mod mod) in tModLoader\Terraria\ModLoader\MusicLoader.cs:line 188
at Terraria.ModLoader.Mod.Autoload() in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 76
at Terraria.ModLoader.ModContent.<>c.<Load>b__45_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 309
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 444
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 304
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 134
[20:54:29.073] [Main Thread/DEBUG] [tML]: Process.Start (UseShellExecute = True): "tModLoader-Logs"
< >
Showing 1-2 of 2 comments
I get the exact same error, even when loading without any other mods.
okay so I'm not the only one that's getting this... WELP TIME TO CHECK OUT THEIR DISCORD SERVER TO PATIENTLY WAIT FOR EXPLANATIONS/SOLUTIONS I SUPPOSE!
< >
Showing 1-2 of 2 comments
Per page: 1530 50