lefty-studios / water_game

A game of underwater exploration and survival for Minetest.
https://discord.gg/t9wQ3Qz
GNU General Public License v3.0
7 stars 4 forks source link

Runtime error from mod 'default', item_entity.lua, in function 'on_step': Collision info missing, this is caused by an out-of-date/buggy mod or game #19

Closed srutzky closed 3 years ago

srutzky commented 3 years ago

Shortly after starting a new world the game crashed with the following error:

AsyncErr: ServerThread::run Lua: Runtime error from mod 'default' in callback luaentity_Step():
    ...ogram Files\Minetest\bin\..\builtin\game\item_entity.lua:198: Collision info missing, this is caused by an out-of-date/buggy mod or game
stack traceback:
    [C]: in function 'assert'
    ...ogram Files\Minetest\bin\..\builtin\game\item_entity.lua:198: in function 'on_step'
    ...est\bin\..\games\WaterWorld\mods\default/item_entity.lua:43: in function <...est\bin\..\games\WaterWorld\mods\default/item_entity.lua:42>

After getting this error, I was no longer able to play the game / world. Every time I start the game, it loads everything, but as soon as it switches over to the main view, there is at most two seconds before it crashes again with that same error.

Environment


I believe I have a simple fix for this that I will submit a PR for in a moment.