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 exporting a variable where the type is any kind of node, a box saying "Assign..." appears and you can specify a node via the editor no problem. When the exported variable is an array of nodes, the same box appears for each element in the array, but attempting to assign a node in the same way does nothing.
Steps to reproduce
Create a node, attach a script to it, and in it create an export variable with type Array[Node].
From the inspector, add a new element to the array.
Click "Assign..." to bring up the "Select a Node" window.
Choose any node.
The node doesn't get assigned and the array remains unchanged.
This bug is fixed in 4.1 dev3, however, if you add @tool to the script, it reverts to the previous bugged behavior and will not assign the selected node. It does 'flash' the change for an instant, but then reverts back to the original value.
Godot version
v4.0.3.rc2.mono.official [2ac4e3b]
System information
Windows 10 22H2
Issue description
When exporting a variable where the type is any kind of node, a box saying "Assign..." appears and you can specify a node via the editor no problem. When the exported variable is an array of nodes, the same box appears for each element in the array, but attempting to assign a node in the same way does nothing.
Steps to reproduce
Minimal reproduction project
Node array export.zip
The text was updated successfully, but these errors were encountered: