Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch Rename try to update NodePath but fails which results in invalid NodePath error #76070

Closed
ajreckof opened this issue Apr 14, 2023 · 0 comments · Fixed by #76376
Closed
Milestone

Comments

@ajreckof
Copy link
Member

Godot version

4.1.dev (a7276f1)

System information

MacOS 13.3 M1 Pro

Issue description

when doing a Batch rename with two nodes being present in a NodePath. Batch Rename will try to update the NodePath but will fail which will results in this error
Capture d’écran 2023-04-14 à 23 59 02

Steps to reproduce

  1. Open the minimal reproduction project or follow the instruction below:
    1. first reproduce the following tree (this is because of When all selected node are descendants of one of them PopupMenu act as if one node is selected #76069) Capture d’écran 2023-04-14 à 23 09 47
    2. add a script to the root and export a NodePath variable
    3. Set the exported variable to the GrandChild node
  2. select all node except the root.
  3. Batch rename C to T for example
  4. Inspect the root node. You should have a broken NodePath and an error.

Minimal reproduction project

test1.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants