godotengine/godot

Duplicating Visual Script node loses custom script reference

Opened this issue · 2 comments

Godot version:
3.1-stable-windows64

Steps to reproduce:

Create a custom node type using GD script
Add a "Custom Node" to a new Visual Script
Set the type to your custom node using Reference/Script thing in the Inspector
Press Ctrl-D to duplicate your node
Notice Script only shows a gear
(if you then click the blank Script reference in the Inspector you get into some weird stuff that seems to break some things and sometimes leads to crashes)

Original Node:
image

Duplicate Node:
image

Reproduction project:

  • git@gitlab.com:youreperfectstudio/catherines-quest.git
  • commit ID: 0937d68a43a737565c2a642c86504d2198eca3c1
  • script: story/robin_intro.vs

Still valid in 3.2.4 beta3

Still valid 4.0.x alfa