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
Godot v4.3.beta2 - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce GTX 1660 SUPER (NVIDIA; 32.0.15.5599) - Intel(R) Core(TM) i7-10700F CPU @ 2.90GHz (16 Threads)
Issue description
Manually editing the node path of an exported node will result in the reference being permanently broken. "Permanent" in this case means until you manually reassign the reference through selection, which isn't possible for hidden children of scene instances. The property field will correctly display the referenced node, but at runtime, it will be null.
This breakage happens even if you do not actually change the node path (just click edit, and hit enter or escape).
The breakage happens because the node_paths part of the node that contains the reference gets wiped out. For example, in the context of the attached project, the correct version of the scene file shows this for the root node (the node containing the reference): [node name="test" type="Node" node_paths=PackedStringArray("box")]
But the broken version of the scene file shows this: [node name="test" type="Node"]
Steps to reproduce
Open the attached project and run the scene.
Note the console prints out the box referenced by the root node.
Stop the scene.
Select the root node, and use the Edit option on its exported Box property.
Tested versions
Reproducible in 4.3.beta2
System information
Godot v4.3.beta2 - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce GTX 1660 SUPER (NVIDIA; 32.0.15.5599) - Intel(R) Core(TM) i7-10700F CPU @ 2.90GHz (16 Threads)
Issue description
Manually editing the node path of an exported node will result in the reference being permanently broken. "Permanent" in this case means until you manually reassign the reference through selection, which isn't possible for hidden children of scene instances. The property field will correctly display the referenced node, but at runtime, it will be
null
.This breakage happens even if you do not actually change the node path (just click edit, and hit enter or escape).
The breakage happens because the
node_paths
part of the node that contains the reference gets wiped out. For example, in the context of the attached project, the correct version of the scene file shows this for the root node (the node containing the reference):[node name="test" type="Node" node_paths=PackedStringArray("box")]
But the broken version of the scene file shows this:
[node name="test" type="Node"]
Steps to reproduce
Edit
option on its exportedBox
property.[Enter]
.<null>
.Minimal reproduction project (MRP)
bug-report.zip
The text was updated successfully, but these errors were encountered: