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

Avoid duplicating signals from scene instances into packed scenes (reverted) #97303

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

cixil
Copy link
Contributor

@cixil cixil commented Sep 21, 2024

EDIT: This PR was partially reverted by #100235 so the issues are not fixed. #100965 has been created as a follow up

Fixes #48064 and fixes #86532

When packing a tree of nodes to a PackedScene, signal connections originating from the root node of a scene instance within that tree would get duplicated into the PackedScene and cause "duplicate signal" errors when instantiating it.

@cixil cixil requested review from a team as code owners September 21, 2024 23:42
@cixil
Copy link
Contributor Author

cixil commented Sep 22, 2024

I think this also fixes #85372

@fire fire changed the title fix bug where signals from scene instances are included in packed scenes Avoid duplicating signals from scene instances into packed scenes Sep 22, 2024
@AThousandShips AThousandShips added this to the 4.4 milestone Sep 22, 2024
@AThousandShips AThousandShips added cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Sep 22, 2024
@cixil cixil force-pushed the fix-duplicate-signal-bug branch from e0cf91d to 3327ed7 Compare September 22, 2024 14:51
@cixil cixil requested review from a team as code owners September 22, 2024 14:51
@fire fire requested a review from SaracenOne October 29, 2024 03:09
@jitspoe
Copy link
Contributor

jitspoe commented Nov 8, 2024

Thanks for working on this! The error flood from this issue has made it difficult to spot real errors in my project.

@akien-mga akien-mga force-pushed the fix-duplicate-signal-bug branch from 6540f16 to 8a42e3d Compare November 29, 2024 17:29
@akien-mga akien-mga requested a review from a team as a code owner November 29, 2024 17:29
@akien-mga akien-mga merged commit 94082a4 into godotengine:master Nov 29, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks! And congrats for your first merged Godot contribution 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release topic:core
Projects
None yet
5 participants