Don't Starve Together

Don't Starve Together

New Boat Shapes
Crash: Sinking raft (possibly Insight related)
I placed a knobbly tree nut on a raft, then constructed an anchor. I destroyed the anchor to place a hole in the boat, which eventually caused it to sink. Upon sinking, the server immediately crashed. Here is the full stack trace.

[01:31:43]: [string "scripts/components/submersible.lua"]:73: attempt to call method 'IsValid' (a nil value) LUA ERROR stack traceback: scripts/components/submersible.lua:73 in (method) Submerge (Lua) <71-166> self = inst = 141450 - oceantreenut(LIMBO) (valid:true) force_no_repositioning = true underwater_object = table: 000000003B6A33C0 scripts/components/submersible.lua:7 in (local) fn (Lua) <1-8> inst = 141450 - oceantreenut(LIMBO) (valid:true) data = table: 000000004904B300 scripts/entityscript.lua:1150 in (method) PushEvent (Lua) <1137-1164> self (valid:true) = GUID = 141450 Transform = Transform (000000003444B940) inlimbo = true actionreplica = table: 00000000397B5150 event_listening = table: 00000000397B6B40 _entitysleeptime = 4282.6668900251 actioncomponents = table: 00000000397B5CE0 lower_components_shadow = table: 00000000397B59C0 parent = 146072 - underwater_salvageable (valid:true) entity = Entity (000000003C863840) AnimState = AnimState (000000003444B2B0) prefab = oceantreenut OnEntitySleep = function - scripts/prefabs/oceantreenut.lua:127 should_attempt_grow = false OnSave = function - scripts/prefabs/oceantreenut.lua:140 Network = Network (000000003444B250) persists = true physicsradiusoverride = 0.75 OnLoadPostPass = function - scripts/prefabs/oceantreenut.lua:152 event_listeners = table: 00000000397B5420 OnEntityWake = function - scripts/prefabs/oceantreenut.lua:134 OnLoad = function - scripts/prefabs/oceantreenut.lua:146 moistureupdatetask = PERIODIC 141450: 1.000000 name = Knobbly Tree Nut Physics = Physics (000000003444B9D0) replica = table: 00000000397B5380 pendingtasks = table: 000000003815E8F0 components = table: 00000000397B5830 spawntime = 3043.6001587361 event = onsink data = table: 000000004904B300 listeners = table: 000000003815FF70 tocall = table: 000000004904A900 i = 1 fn = function - scripts/components/submersible.lua:1 ../mods/workshop-2229630615/scripts/components/walkableplatform_common.lua:30 in (method) OnRemoveEntity (Lua) <17-44> self = players_on_platform = table: 000000003DFA7800 inst = 145088 - boat_raft (valid:true) platform_radius = 2.2303603311175 had_players = false player_collision_on_fn = function - ../mods/workshop-2229630615/scripts/prefabs/boat_common.lua:489 objects_on_platform = table: 00000000412659F0 shore_pt = nil k = 141450 - oceantreenut(LIMBO) (valid:true) scripts/entityscript.lua:1502 in (method) Remove (Lua) <1482-1549> self (valid:true) = activefires = 0 inlimbo = false StopBoatPhysics = function - ../mods/workshop-2229630615/scripts/prefabs/boat_common.lua:428 GetRandomPoint = function - ../mods/workshop-2229630615/scripts/prefabs/boat_common.lua:322 GUID = 145088 sounds = table: 000000001EEF0930 boat_item_collision = 145089 - boat_item_collision_common (valid:false) loot = table: 000000001EEF2410 children = table: 0000000032EDEBD0 last_angle = -0.0055851892040703 AnimState = AnimState (0000000030852D50) edge_plants = table: 000000003DFA87A0 entity = Entity (0000000067C8F290) name = MISSING NAME SetRotation = function - ../mods/workshop-2229630615/scripts/prefabs/boat_common.lua:209 Network = Network (000000003084F960) vertices_item = table: 000000001EEF2B40 vertices_waveyjones = table: 000000001EEF5610 is_point_on_boat = function - ../mods/workshop-2229630615/scripts/prefabs/boat_common.lua:239 OnPreLoad = function - ../mods/workshop-2229630615/scripts/prefabs/boat_common.lua:445 vertices_embarker = table: 000000001EEF36D0 vertices = table: 000000003F9E0B90 sg = sg="boat", state="popping", time=3.03, tags = "" spawntime = 4393.8335624896 on_start_steering = function - ../mods/workshop-2229630615/scripts/prefabs/boat_common.lua:103 base_vertice [01:31:43]: [string "scripts/components/submersible.lua"]:73: attempt to call method 'IsValid' (a nil value) LUA ERROR stack traceback: scripts/components/submersible.lua:73 in (method) Submerge (Lua) <71-166> scripts/components/submersible.lua:7 in (local) fn (Lua) <1-8> scripts/entityscript.lua:1150 in (method) PushEvent (Lua) <1137-1164> ../mods/workshop-2229630615/scripts/components/walkableplatform_common.lua:30 in (method) OnRemoveEntity (Lua) <17-44> scripts/entityscript.lua:1502 in (method) Remove (Lua) <1482-1549> ../mods/workshop-2229630615/scripts/stategraphs/SGboat_common.lua:157 in (field) onenter (Lua) <142-158> scripts/stategraph.lua:510 in (method) GoToState (Lua) <461-520> ../mods/workshop-2229630615/scripts/stategraphs/SGboat_common.lua:95 in () ? (Lua) <95-95> =(tail call):-1 in () (tail) <-1--1> scripts/stategraph.lua:406 in (method) HandleEvents (Lua) <400-420> scripts/stategraph.lua:154 in (method) UpdateEvents (Lua) <148-157> scripts/stategraph.lua:145 in (method) Update (Lua) <109-146> scripts/update.lua:282 in () ? (Lua) <218-292> [01:31:43]: [workshop-2189004162 (Insight)]: A crash has occured. [01:31:43]: [workshop-2189004162 (Insight)]: Title: WARNING! [01:31:43]: [workshop-2189004162 (Insight)]: Text: [string "scripts/components/submersible.lua"]:73: attempt to call method 'IsValid' (a nil value) LUA ERROR stack traceback: scripts/components/submersible.lua:73 in (method) Submerge (Lua) <71-166> scripts/components/submersible.lua:7 in (local) fn (Lua) <1-8> scripts/entityscript.lua:1150 in (method) PushEvent (Lua) <1137-1164> ../mods/workshop-2229630615/scripts/components/walkableplatform_common.lua:30 in (method) OnRemoveEntity (Lua) <17-44> scripts/entityscript.lua:1502 in (method) Remove (Lua) <1482-1549> ../mods/workshop-2229630615/scripts/stategraphs/SGboat_common.lua:157 in (field) onenter (Lua) <142-158> scripts/stategraph.lua:510 in (method) GoToState (Lua) <461-520> ../mods/workshop-2229630615/scripts/stategraphs/SGboat_common.lua:95 in () ? (Lua) <95-95> =(tail call):-1 in () (tail) <-1--1> scripts/stategraph.lua:406 in (method) HandleEvents (Lua) <400-420> scripts/stategraph.lua:154 in (method) UpdateEvents (Lua) <148-157> scripts/stategraph.lua:145 in (method) Update (Lua) <109-146> scripts/update.lua:282 in () ? (Lua) <218-292> [01:31:43]: [workshop-2189004162 (Insight)]: Additionaltext: This error may have occurred due to a mod you have enabled! You have the following mods enabled: "Increase Storage" "Craftable Living Log" "DST Path Lights" "Increased Stack size" "smart_icebox可控智能冰箱" "World Regrowth" "Upgradable Walking Cane" "Tool Durability Increase x3 (Vux)" "Stop Stumps" "Rope Bridge" "Rain Shelter" "Quick Pick" "Invincible Buildings / 建筑无敌" "Infinite Tent (and Siesta) Uses " "Improved Premier Gardeneer Hat" "Imperishable Thermal Stone" "Fire resurrection" "Customizing durability of armors" "Container Opening Range 容器开启范围" "Combined Status" "Bedroll HP recover" "Auto Stack Plus" "AFK Detection" "45 Inventory Slots (Repaired)" "Tungsten Mod - rebalanced" "Dark Butterflies" "New Boat Shapes" "Item Eraser" "Global Positions" "Gorge Lights" "Insight" "Smart Minisign" " Simple Health Bar DST" [01:31:43]: [workshop-2189004162 (Insight)]: SERVER_OWNER_HAS_OPTED_IN: nil [01:31:43]: [workshop-2189004162 (Insight)]: Status: [Insight]: Crash reporter disabled [Server]. [01:31:43]: [workshop-2189004162 (Insight)]: State: 0

I will try disabling Insight (workshop-2229630615) and see if this resolves the issue.
< >
Showing 1-4 of 4 comments
Lumpy McUglyface 16 Sep, 2022 @ 10:48am 
Disabling Insight did not fix the issue. I will disable all mods except this to see if the problem still exists.
Lumpy McUglyface 16 Sep, 2022 @ 10:59am 
With all other mods removed, a sinking raft with a knobbly tree nut on board still crashes the game.
Last edited by Lumpy McUglyface; 16 Sep, 2022 @ 11:19am
Lumpy McUglyface 16 Sep, 2022 @ 11:29am 
I re-enabled all of my mods, then put the nut on a grass raft (from the vanilla game) and sunk it. The game did not crash. It only crashes when I put the nut on the raft from your mod. Anyway, I worked around the issue, I hope this report helps! Thanks again for such a wonderful mod.
Cuikui  [developer] 19 Sep, 2022 @ 3:52pm 
Thanks for the detailed report, it is now fixed. It was a weird bug where items were sunk twice when destroying the boat.
< >
Showing 1-4 of 4 comments
Per page: 1530 50