nonexistent signal 'changed' is flooding my godot log and eventually crashing the game

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By krizej88

I run my game, it works fine for a while and then it crashes
I go to check the logs and i find 1,129,726 lines of

USER ERROR: Disconnecting nonexistent signal 'changed', callable: MeshInstance3D::_mesh_changed.
       at: _disconnect (core/object/object.cpp:1412) - Condition "!s->slot_map.has(*p_callable.get_base_comparator())" is true.

there was also a log of the same thing but 11 million lines and this at the beginning

USER ERROR: Storage buffer supplied (binding: 0) must provide one ID (0 provided).
   at: uniform_set_create (drivers/vulkan/rendering_device_vulkan.cpp:5932) - Condition "uniform.get_id_count() != 1" is true. Returning: RID()

I didn’t set any changed signals on anything and no signals at all on MeshInstances

also after the crash it takes around a minute to launch the game again

a different log (I don’t remember if it did anything bizarre that time):

edit: the long wait time for the game to run again is solved by deleting the logs

What may have happened is that the object to which the signal was connected was freed, yet the engine keeps trying to disconnect the signal, and so this error happens. Since version 4.0 of the engine is still in alpha, this is to be expected.

It would be a good idea to report this issue in the official Godot issue tracker.

Ertain | 2022-04-09 23:31