0 votes

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): https://pastebin.com/raw/0wrguB3n

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

Godot version 4.0, updated like an hour ago
in Engine by (12 points)
edited by

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.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.