You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have an exported node like a Sprite, and its parent scene is duplicated, the duplicated scenes is now going to reference the same exported node. Basically, duplicated scene with exported variables will reference the original exported variable of the original scene
Tried it out in v4.0.4.stable it is working as expected. Tried out on 4.1.1.stable and 4.1.2.stable, the rereferencing is happening.
Drag & Dropping the same scene will not have the same bug. Only duplication (ctrl + D) will cause the bug.
Steps to reproduce
Have a main scene.
Create a mob scene
Attach a script to mob scene
Add an exported node
Assign the exported node in the editor
Drag and drop the mob scene in the main scene
Duplicate (Ctrl + D) the dragged mob
The duplicated mob scene is now going to reference the same exported node
The text was updated successfully, but these errors were encountered:
niceWizzard
changed the title
Exported nodes are duplicated/rereferenced on duplicated nodes
Exported variables are duplicated/rereferenced on duplicated nodes
Oct 18, 2023
niceWizzard
changed the title
Exported variables are duplicated/rereferenced on duplicated nodes
Exported variables are duplicated/rereferenced on duplicated scenes
Oct 18, 2023
Godot version
4.1.2.stable
System information
Windows 11 - AMD Ryzen 5 Laptop
Issue description
When you have an exported node like a Sprite, and its parent scene is duplicated, the duplicated scenes is now going to reference the same exported node. Basically, duplicated scene with exported variables will reference the original exported variable of the original scene
Tried it out in v4.0.4.stable it is working as expected. Tried out on 4.1.1.stable and 4.1.2.stable, the rereferencing is happening.
Drag & Dropping the same scene will not have the same bug. Only duplication (ctrl + D) will cause the bug.
Steps to reproduce
The duplicated mob scene is now going to reference the same exported node
Minimal reproduction project
reproduction.zip <--- 4.0 bug not here
reproduction.4.1.zip <--- 4.1 bug here
The text was updated successfully, but these errors were encountered: