tModLoader

tModLoader

Dragon Ball Terraria Legacy
koimeiji 13 Aug, 2023 @ 10:50pm
Potential incompatibility/bug with Calamity
[00:35:28.614] [Main Thread/WARN] [tML]: Silently Caught Exception: System.Collections.Generic.KeyNotFoundException: DBZMODPORT.DBZMODItem at DBZMODPORT.DBZMODItem.Clone(Item item, Item itemClone) in DBZMODPORT\DBZMODItem.cs:line 33 at System.Linq.Enumerable.SelectArrayIterator`2.ToArray() at Terraria.Item.Clone() in tModLoader\Terraria\Item.cs:line 50552 at DMD<System.Void Terraria.Player:dropItemCheck()>(Player this) at Hook<System.Void CalamityMod.Items.BaseItems.HeldOnlyItem::DontDropCoolStuff(Terraria.On_Player+orig_dropItemCheck,Terraria.Player)>(Player ) at SyncProxy<System.Void Terraria.Player:dropItemCheck()>(Player ) at DMD<System.Void Terraria.Player:Update(System.Int32)>(Player this, Int32 i) at SyncProxy<System.Void Terraria.Player:Update(System.Int32)>(Player , Int32 ) at DMD<System.Void Terraria.Main:DoUpdateInWorld(System.Diagnostics.Stopwatch)>(Main this, Stopwatch sw) at SyncProxy<System.Void Terraria.Main:DoUpdateInWorld(System.Diagnostics.Stopwatch)>(Main , Stopwatch ) at Terraria.Main.DoUpdate(GameTime& gameTime) in tModLoader\Terraria\Main.cs:line 14516 at Terraria.Main.Update(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 14054 at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 546 at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878 at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419 at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 266 at Terraria.Program.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 240 at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) in tModLoader\Terraria\Program.cs:line 215 at Terraria.MonoLaunch.Main_End(String[] args) in tModLoader\Terraria\MonoLaunch.cs:line 71 at Terraria.MonoLaunch.<>c__DisplayClass1_0.<Main>b__0() in tModLoader\Terraria\MonoLaunch.cs:line 57 at System.Threading.Thread.StartCallback()
Game will randomly freeze the character and all interactions other than opening menus. World itself will progress as normal, and although enemies will target the player, they will be unable to interact with them at all.
Haven't noticed anything that's actually triggering it, nor have been able to consistently reproduce. Seems to happen at random.
World is extremely new; furthest progress both is an anvil and, mod-wise, making a ki blast. Using the blast has not been triggering the freeze, and it has happened before crafting the blast.

Modlist is as follows, though the log only mentions DBZ and Calamity in that error.
Terraria version 1.4.4.9 tModLoader version 2023.6.25.31 Calamity Mod Music v2.0.3.1 Dragon Ball Terraria 1.0.9.9 Ported 0.4 Calamity Mod v2.0.3.2 Recipe Browser v0.10.1.5 Subworld Librarry v2.2.1.2 The Stars Above v1.5.1.3 AlchemistNPC Lite v1.9 Boss Checklist v1.6.2 Lobotomy Corporation v0.7.4
Last edited by koimeiji; 13 Aug, 2023 @ 10:52pm
< >
Showing 1-15 of 16 comments
koimeiji 14 Aug, 2023 @ 7:15pm 
Further playing seems to have it occur when placing the last furniture item in a stack (ie; a door, a table, a chair). I'm not entirely sure if this is actually the case though, or just a coincidence as it's not repeatable; this is just what I've noticed a few times.
GreenZanbato 15 Aug, 2023 @ 9:27am 
Having this bug too, it seems to sometimes happen when placing the last block in a stack from inventory (like 75% of the time). Picking up any item in the inventory fixes the freeze until it happens again. Also it doesn't happen when placing from the hotbar, just when picking it up from inventory and placing.
Last edited by GreenZanbato; 15 Aug, 2023 @ 9:30am
R4skall 23 Aug, 2023 @ 4:28pm 
good to know this mod is the cause, after a bit longer playing its now 25 to 50% of the time when ANYTHING is placed and rarely when the last stack of an item is used or stored, even less common if an item leaves the slot your cursor is on for any reason
R4skall 24 Aug, 2023 @ 8:29pm 
seems to also be a memory leak associated with the issue
Tyndareus  [developer] 30 Aug, 2023 @ 6:04am 
well if you read it; the direct cause is calamity. Doing any of the suggested things doesn't happen in dbt alone. Calamity is also notorious for memory leaks
R4skall 30 Aug, 2023 @ 12:14pm 
on the topic of the mining bug i just tested if it is calamity and it is not
Tyndareus  [developer] 31 Aug, 2023 @ 12:58am 
ok, but no one mentioned a mining bug here. And if you wanted to test out a bug, you turn off everything except the main mod and then start turning things on until you find which mod breaks it.
Last edited by Tyndareus; 31 Aug, 2023 @ 1:03am
Pepe Silvia 6 Sep, 2023 @ 2:23am 
Same here. Someone found something?
Pepe Silvia 6 Sep, 2023 @ 12:02pm 
Got an answer from Shade of Calamity mod. Here's the reply : First does seem like DBZ’s fault i think (get the mod’s devs to get in contact with Ozz)
truffleball256 2 Dec, 2023 @ 6:56pm 
seems like there is a chance you just randomly bug on using a item AND or placing items
truffleball256 2 Dec, 2023 @ 9:48pm 
actually yeah it def seems like so for example you have your melee selected then you go to inv to grab a item since ur full say a consumable so u pick up a item it gets sucked into ur inv you swap it then use it appears to bug for certain items or mod items say the 1.4.4 jojo stands mod then using a arrow can bug you or other modded items BUT not on their own
truffleball256 2 Dec, 2023 @ 9:58pm 
crafting a item after so seems to fix it
FireDragonSlayer 7 Dec, 2023 @ 10:58am 
i can confirm this happening with just the dbt mod, usually happens when you use last item from on-cursor item, etc placing platforms and running out, it will freeze the character and not let you do anything unless you move item in inventory.
only "Dragon Ball Terraria 1.0.9.9 Ported v0.4.1" loaded, no other mods, fresh character/map, and game restarted after loading the mod.
Log below from game bootup tiil bug replication and game shutdown

[20:00:12.358] [Main Thread/INFO] [tML]: Starting tModLoader client 1.4.4.9+2023.10.3.0|2023.10|stable|Stable|23aa262bde1ae5440cf2b05b2f676feb787cdc95|5250055878079335727 built 01/12/2023 02:06:05 [20:00:12.363] [Main Thread/INFO] [tML]: Log date: 07/12/2023 [20:00:12.363] [Main Thread/INFO] [tML]: Running on Windows (v10.0.22621.0) X64 NetCore 6.0.14 [20:00:12.364] [Main Thread/INFO] [tML]: FrameworkDescription: .NET 6.0.14 [20:00:12.364] [Main Thread/INFO] [tML]: Executable: C:\Program Files (x86)\Steam\steamapps\common\tModLoader\tModLoader.dll [20:00:12.364] [Main Thread/INFO] [tML]: Working Directory: C:\Program Files (x86)\Steam\steamapps\common\tModLoader [20:00:12.697] [Main Thread/INFO] [tML]: Attempt to Port from "C:/Users/FireDragonSlayer\Documents\My Games\Terraria\tModLoader" to "C:/Users/FireDragonSlayer\Documents\My Games\Terraria\tModLoader-1.4.3" aborted, "2023.10.3.0" is a newer version. [20:00:12.698] [Main Thread/INFO] [tML]: Saves Are Located At: C:\Users\FireDragonSlayer\Documents\My Games\Terraria\tModLoader [20:00:12.704] [Main Thread/INFO] [tML]: Display DPI: Diagonal DPI is 96. Vertical DPI is 96. Horizontal DPI is 96 [20:00:12.704] [Main Thread/INFO] [tML]: High DPI Display detected: setting FNA to highdpi mode [20:00:12.706] [Main Thread/DEBUG] [FNA]: Querying linked library versions... [20:00:12.706] [Main Thread/DEBUG] [FNA]: SDL v2.28.2 [20:00:12.707] [Main Thread/DEBUG] [FNA]: FNA3D v23.10.0 [20:00:12.707] [Main Thread/DEBUG] [FNA]: FAudio v22.9.1 [20:00:12.840] [Main Thread/INFO] [tML]: Distribution Platform: Steam. Detection method: CWD is /steamapps/ [20:00:12.845] [Main Thread/DEBUG] [tML]: Process.Start (UseShellExecute = False): "C:\Program Files (x86)\Steam\steamapps\common\tModLoader\dotnet\6.0.14\dotnet.exe" tModLoader.dll -terrariasteamclient 1704 [20:00:13.113] [Main Thread/DEBUG] [TerrariaSteamClient]: Recv: init_success [20:00:13.113] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: acknowledged [20:00:14.261] [Main Thread/INFO] [Terraria]: Steam Cloud Quota: 953.7 MB available [20:00:14.262] [Main Thread/INFO] [tML]: Steam beta branch: None [20:00:14.262] [Main Thread/INFO] [tML]: SteamBackend: Running standard Steam Desktop Client API [20:00:14.262] [Main Thread/INFO] [tML]: Current 1281930 Workshop Folder Directory: C:\Program Files (x86)\Steam\steamapps\common\tModLoader\..\..\workshop [20:00:14.328] [Main Thread/INFO] [FNA]: SDL Video Diver: windows [20:00:14.328] [Main Thread/INFO] [FNA]: FNA3D Driver: D3D11 [20:00:14.328] [Main Thread/INFO] [FNA]: D3D11 Adapter: NVIDIA GeForce RTX 3060 [20:00:14.340] [Main Thread/INFO] [tML]: Terraria Steam Install Location assumed to be: C:\Program Files (x86)\Steam\steamapps\common\Terraria [20:00:14.567] [Main Thread/INFO] [tML]: Maximum Resolution is 1920 x 1200 [20:00:14.572] [Main Thread/DEBUG] [Terraria]: Device Created, Adapter: SMT22A350, DisplayMode: {{Width:1920 Height:1080 Format:Color}}, Profile: HiDef, Width: 1920, Height: 1080, Fullscreen: False, Display: \\.\DISPLAY1 [20:00:14.573] [Main Thread/DEBUG] [Terraria]: Device Reset, Adapter: SMT22A350, DisplayMode: {{Width:1920 Height:1080 Format:Color}}, Profile: HiDef, Width: 1920, Height: 1080, Fullscreen: False -> True, Display: \\.\DISPLAY1 [20:00:14.574] [Main Thread/DEBUG] [Terraria]: Device Reset, Adapter: SMT22A350, DisplayMode: {{Width:1920 Height:1080 Format:Color}}, Profile: HiDef, Width: 1920, Height: 1080, Fullscreen: True, Display: \\.\DISPLAY1 [20:00:14.694] [Main Thread/INFO] [FNA]: SDL Audio Diver: [20:00:15.714] [8/DEBUG] [tML]: SSDP search line separator: CRLF [20:00:29.167] [Main Thread/INFO] [tML]: 3 most recently changed workshop mods: NoxusBoss v1.1.9 12/7/2023, SSBETES v0.2.4 12/7/2023, FargoCalamity v0.3.3 12/7/2023 [20:00:29.783] [.NET ThreadPool Worker/INFO] [tML]: Finding Mods... [20:00:29.789] [.NET ThreadPool Worker/INFO] [tML]: Sandboxing: DBZMODPORT (Dragon Ball Terraria 1.0.9.9 Ported) v0.4.1 [20:00:29.835] [.NET ThreadPool Worker/INFO] [tML]: Constructing Mods... [20:00:29.919] [.NET ThreadPool Worker/INFO] [tML]: Adding Content: ModLoader (tModLoader) v2023.10.3.0 [20:00:29.968] [.NET ThreadPool Worker/INFO] [tML]: Adding Content: DBZMODPORT (Dragon Ball Terraria 1.0.9.9 Ported) v0.4.1 [20:00:30.094] [.NET ThreadPool Worker/WARN] [tML]: DBZMODPORT.KiItem has reference fields (player, _npc) that may not be safe to share between clones. For deep-cloning, add a custom Clone override and make proper copies of these fields. If shallow (memberwise) cloning is acceptable, mark the fields with [CloneByReference] or properties with [field: CloneByReference] [20:00:30.095] [.NET ThreadPool Worker/WARN] [tML]: DBZMODPORT.Items.Weapons.Tier_2.SpiritBall has reference fields (_player, player, _npc) that may not be safe to share between clones. For deep-cloning, add a custom Clone override and make proper copies of these fields. If shallow (memberwise) cloning is acceptable, mark the fields with [CloneByReference] or properties with [field: CloneByReference] [20:00:30.095] [.NET ThreadPool Worker/WARN] [tML]: DBZMODPORT.Items.Weapons.Tier_3.DirtyFireworks has reference fields (_player, player, _npc) that may not be safe to share between clones. For deep-cloning, add a custom Clone override and make proper copies of these fields. If shallow (memberwise) cloning is acceptable, mark the fields with [CloneByReference] or properties with [field: CloneByReference] [20:00:30.095] [.NET ThreadPool Worker/WARN] [tML]: DBZMODPORT.Items.Weapons.Tier_5.DestructoDiskAssault has reference fields (_player, player, _npc) that may not be safe to share between clones. For deep-cloning, add a custom Clone override and make proper copies of these fields. If shallow (memberwise) cloning is acceptable, mark the fields with [CloneByReference] or properties with [field: CloneByReference] [20:00:30.531] [.NET ThreadPool Worker/INFO] [tML]: Resizing... [20:00:30.647] [.NET ThreadPool Worker/INFO] [tML]: Configuring Content: ModLoader (tModLoader) v2023.10.3.0 [20:00:30.680] [.NET ThreadPool Worker/INFO] [tML]: Configuring Content: DBZMODPORT (Dragon Ball Terraria 1.0.9.9 Ported) v0.4.1 [20:00:30.734] [.NET ThreadPool Worker/WARN] [tML]: DBZMODPORT.KiProjectile has reference fields (player, myPlayer) that may not be safe to share between clones. For deep-cloning, add a custom Clone override and make proper copies of these fields. If shallow (memberwise) cloning is acceptable, mark the fields with [CloneByReference] or properties with [field: CloneByReference] [20:00:30.734] [.NET ThreadPool Worker/WARN] [tML]: DBZMODPORT.Projectiles.DirtyFireworksProjectile has reference fields (_targetNPC, _targetPlayer, player, myPlayer) that may not be safe to share between clones. For deep-cloning, add a custom Clone override and make proper copies of these fields. If shallow (memberwise) cloning is acceptable, mark the fields with [CloneByReference] or properties with [field: CloneByReference] [20:00:30.735] [.NET ThreadPool Worker/WARN] [tML]: DBZMODPORT.Projectiles.Kamehamehas.BigBangKamehameha.BigBangKamehamehaBlast has reference fields (_player, player, myPlayer) that may not be safe to share between clones. For deep-cloning, add a custom Clone override and make proper copies of these fields. If shallow (memberwise) cloning is acceptable, mark the fields with [CloneByReference] or properties with [field: CloneByReference] [20:00:30.812] [.NET ThreadPool Worker/INFO] [tML]: Finalizing Content: ModLoader (tModLoader) v2023.10.3.0 [20:00:30.842] [.NET ThreadPool Worker/INFO] [tML]: Finalizing Content: DBZMODPORT (Dragon Ball Terraria 1.0.9.9 Ported) v0.4.1 [20:00:30.878] [.NET ThreadPool Worker/INFO] [tML]: RAM: tModLoader usage: 696.0 MB, All processes usage: 15.5 GB, Available: 16.3 GB, Total Installed: 31.8 GB [20:00:30.937] [.NET ThreadPool Worker/DEBUG] [tML]: GlobalItem registration stats. Count: 2, Slots per Entity: 2 Instanced: 2, Conditional with slot: 0, Conditional by type: 0, Applies to single type: 0 List Permutations: 1, Est Memory Consumption: 16 bytes [20:00:30.954] [.NET ThreadPool Worker/DEBUG] [tML]: GlobalNPC registration stats. Count: 3, Slots per Entity: 1 Instanced: 1, Conditional with slot: 0, Conditional by type: 0, Applies to single type: 0 List Permutations: 1, Est Memory Consumption: 16 bytes [20:00:30.958] [.NET ThreadPool Worker/DEBUG] [tML]: GlobalProjectile registration stats. Count: 0, Slots per Entity: 0 Instanced: 0, Conditional with slot: 0, Conditional by type: 0, Applies to single type: 0 List Permutations: 0, Est Memory Consumption: 0 bytes [20:00:31.002] [.NET ThreadPool Worker/INFO] [tML]: Adding Recipes... [20:00:31.088] [Main Thread/DEBUG] [tML]: Web Request: https://steamhost.cn/api_steampowered_com/ISteamNews/GetNewsForApp/v2/?appid=1281930&count=1 [20:00:40.690] [Main Thread/DEBUG] [tML]: Process.Start (UseShellExecute = False): "explorer.exe" "https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2828604929" [20:06:49.290] [.NET ThreadPool Worker/INFO] [Terraria]: Loading World: Pub of the Stooge, IsCloud=False, Width: 8400, Height: 2400, Evil: 1, GameMode: 1 [20:06:49.307] [.NET ThreadPool Worker/INFO] [StatusText]: Loading world data [20:06:50.062] [.NET ThreadPool Worker/INFO] [StatusText]: Settling liquids [20:06:50.424] [.NET ThreadPool Worker/INFO] [StatusText]: Loading map data [20:06:50.430] [.NET ThreadPool Worker/INFO] [StatusText]: Drawing map [20:06:50.460] [Main Thread/INFO] [Terraria]: Entering world with player: t, IsCloud=False, Width: 8400, Height: 2400, Evil: 1, GameMode: 1 [20:07:03.895] [Main Thread/WARN] [tML]: Silently Caught Exception: System.Collections.Generic.KeyNotFoundException: DBZMODPORT.DBZMODItem at DBZMODPORT.DBZMODItem.Clone(Item item, Item itemClone) in DBZMODPORT\DBZMODItem.cs:line 33 at System.Linq.Enumerable.SelectArrayIterator`2.ToArray() at Terraria.Item.Clone() in tModLoader\Terraria\Item.cs:line 50567 at Terraria.Player.dropItemCheck() in tModLoader\Terraria\Player.cs:line 3290 at Terraria.Player.Update(Int32 i) in tModLoader\Terraria\Player.cs:line 20495 at Terraria.Main.DoUpdateInWorld(Stopwatch sw) in tModLoader\Terraria\Main.cs:line 14920 at Terraria.Main.DoUpdate(GameTime& gameTime) in tModLoader\Terraria\Main.cs:line 14556 at Terraria.Main.Update(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 14094 at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 546 at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878 at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419 at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 266 at Terraria.Program.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 240 at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) in tModLoader\Terraria\Program.cs:line 213 at Terraria.MonoLaunch.Main_End(String[] args) in tModLoader\Terraria\MonoLaunch.cs:line 78 at Terraria.MonoLaunch.<>c__DisplayClass1_0.<Main>b__1() in tModLoader\Terraria\MonoLaunch.cs:line 64 at System.Threading.Thread.StartCallback() [20:07:11.858] [.NET ThreadPool Worker/INFO] [StatusText]: Saving map data [20:07:12.184] [.NET ThreadPool Worker/INFO] [StatusText]: Saving world data [20:07:12.528] [.NET ThreadPool Worker/INFO] [StatusText]: Validating world save [20:07:14.918] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: shutdown
davessaga 11 Jan, 2024 @ 10:17am 
Seems to be partially fixed if you turn on autopause. At least it didn't happen again with it on so far with a few minutes of testing. Doubt that it will be fixed on this side of things honestly. This is a port after all and the main focus on the devs are on the big update. Most likely, if it does get fixed. It will be calamity accidentally patching the memory leak issue.
Last edited by davessaga; 11 Jan, 2024 @ 10:27am
Askarat 3 Feb, 2024 @ 2:46am 
Idk if somebody already said it, but it does not happen randomly. It happens sometimes, when you place something. A Chest, or simply a block as example. Not everytime, but the trigger itself seems to be related to placing stuff.
< >
Showing 1-15 of 16 comments
Per page: 1530 50