diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 26c4e01d3f..442d7ae6e6 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -896,7 +896,7 @@ void Node::set_name(const String &p_name) { data.name = name; if (data.parent) { - data.parent->_validate_child_name(this); + data.parent->_validate_child_name(this, true); } propagate_notification(NOTIFICATION_PATH_RENAMED);