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

GDScript 2.0: Can't instantiate scene if another resource is loaded from the same path #68971

Closed
Lippanon opened this issue Nov 21, 2022 · 1 comment · Fixed by #68972
Closed

Comments

@Lippanon
Copy link

Godot version

v4.0.beta.custom_build [afe1c89]

System information

Windows 10

Issue description

Making a separate a issue from my comment on #68865 to make it easier to fix.

If a scene or elements from a scene are already loaded, one will be unable to instantiate it again.

image
image
image

This was not a problem before the merge of #67714 .

Steps to reproduce

To make it easier to understand how to trigger, here's the scene tree:
image
The script is in the "2nd_child" scene.

Minimal reproduction project

MRP:
preload problem 4.x.zip

@Lippanon
Copy link
Author

I can confirm #68972 fixes this MRP, and also the errors I was having in my personal project

@Calinou Calinou added this to the 4.0 milestone Nov 21, 2022
Repository owner moved this from Todo to Done in GDScript Stabilization Tasks Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants