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

NodePath in Array or Dictionary export variable is invalid after moving/renaming node #49811

Closed
pouleyKetchoupp opened this issue Jun 21, 2021 · 0 comments · Fixed by #49812
Closed

Comments

@pouleyKetchoupp
Copy link
Contributor

Godot version

3.3.2.stable, 4.0.dev (92f20fd)

System information

Windows 10

Issue description

NodePath properties are kept up-to-date in the editor when the path changes for script export variables, except when nested in Array and Dictionary properties.

Steps to reproduce

Using the minimal reproduction project:

  1. Open the project in the editor
  2. Select Spatial2/Spatial4 node in the tree
  3. Observe the node path in all script variables: Spatial3
  4. Move Spatial3 node as a child of Spatial5 node
  5. Select Spatial2/Spatial4 node again
  6. Observe the node path in test_path has been updated to reflect the change
  7. Observe the node path is not updated in the array and dictionary properties

Minimal reproduction project

3.x version:
NodePathBug.zip

4.0 version:
NodePathBug-4.0.zip

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