Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicating a scene in the editor makes them have the same uid #55577

Closed
groud opened this issue Dec 3, 2021 · 1 comment
Closed

Duplicating a scene in the editor makes them have the same uid #55577

groud opened this issue Dec 3, 2021 · 1 comment

Comments

@groud
Copy link
Member

groud commented Dec 3, 2021

Godot version

4.0dev

System information

Linux

Issue description

Duplicating a scene in the editor leads them to share the same uid. This leads to issues at instantiation time, as usually one of the two scenes will be instantiated instead of the other.

To workaround the issue, I had to remove in a text editor the uid field in the .tscn file, so it is definitely this same uid in both scenes that caused the issue.

Steps to reproduce

Duplicate a scene in the file system dock, modify one of them, and instantiate them both in another scene.
Run this last scene, and notice that the same scene will be instantiated twice.

Minimal reproduction project

Ask if needed.

@groud groud added this to the 4.0 milestone Dec 3, 2021
@akien-mga
Copy link
Member

Duplicate of #54774.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants