We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
memnew()
1 parent 53b546e commit e65ec90Copy full SHA for e65ec90
1 file changed
src/classes/wrapped.cpp
@@ -84,8 +84,7 @@ Wrapped::Wrapped(const StringName p_godot_class) {
84
godot::internal::gdextension_interface_object_set_instance_binding(_owner, godot::internal::token, this, _constructing_class_binding_callbacks);
85
_constructing_class_binding_callbacks = nullptr;
86
} else {
87
- ERR_PRINT("BUG: create a Godot Object without binding callbacks.");
88
- CRASH_NOW_MSG("BUG: create a Godot Object without binding callbacks.");
+ CRASH_NOW_MSG("BUG: Godot Object created without binding callbacks. Did you forget to use memnew()?");
89
}
90
91
0 commit comments