Save scene node to new file

Godot Version

4.3 dev 6


hello everyone,
I am faced with the problem that I cannot save the scene in the specified file system path. I’m making a map editor and there are different objects there. is there any way to save the node and its child nodes without data loss?

You can use a PackedScene Resource for that. There’s an example in the documentation. Read it carefully and don’t forget to properly set the Node.owner property of the nodes you want to save.

1 Like