diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 1889c09d9e8..d38c688241c 100755 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -2411,7 +2411,9 @@ void Node::_replace_connections_target(Node *p_new_target) { if (c.flags & CONNECT_PERSIST) { c.source->disconnect(c.signal, this, c.method); - ERR_CONTINUE(!p_new_target->has_method(c.method)); + bool valid = p_new_target->has_method(c.method) || p_new_target->get_script().is_null() || Ref