diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 0d516ce4f09..81c7b382c7f 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -1004,7 +1004,7 @@ void Node::_validate_child_name(Node *p_child, bool p_force_human_readable) { bool unique = true; - if (p_child->data.name == StringName() || p_child->data.name.operator String()[0] == '@') { + if (p_child->data.name == StringName()) { //new unique name must be assigned unique = false; } else {