KEMBAR78
Renaming a node does not release the old unique name · Issue #108683 · godotengine/godot · GitHub
Skip to content

Renaming a node does not release the old unique name #108683

@simpkins

Description

@simpkins

Tested versions

System information

Windows 11

Issue description

Renaming a node does not release the old unique name, which causes errors if you later try to use that unique name again.

Steps to reproduce

  • In the editor, create a node named "foo" and mark it as having a unique name
  • In the scene tree panel, rename it to "bar"
  • Attempt to rename it back to "foo". This fails, reporting that the unique name "foo" is already in use

Minimal reproduction project (MRP)

unique_name_bug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Very Bad

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions