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

In a multilevel inheritance, changes to nodes from an inherited scene only affect up to the next inherited scene #55964

Closed
AttackButton opened this issue Dec 15, 2021 · 5 comments

Comments

@AttackButton
Copy link
Contributor

AttackButton commented Dec 15, 2021

Godot version

v4.0.dev.calinou [f09d884]

System information

Windows 10

Issue description

As the title says, in a multilevel inheritance, changes to nodes in the editor in a scene will only affect up to the next inherited scene, not to all subsequent ones, as expected.

Steps to reproduce

Create a base scene and an A scene that inherits Base, and a B scene that inherits A, and a C scene that inherits B, and so on.

Any change you make to the nodes from one of these scenes will only take effect up to the next scene. Changes in B only affect C and changes in C only affect D, etc.

Minimal reproduction project

inherited_scenes_nodes_problem.zip

@Calinou
Copy link
Member

Calinou commented Dec 15, 2021

@AttackButton Can you reproduce this in 3.4?

@AttackButton
Copy link
Contributor Author

@AttackButton Can you reproduce this in 3.4?

Yeah, this happens in 3.4 stable too.

test_3.4.zip

@Calinou Calinou added this to the 4.0 milestone Dec 15, 2021
@Calinou Calinou changed the title Godot 4 - In a multilevel inheritance, changes to nodes from an inherited scene only affect up to the next inherited scene In a multilevel inheritance, changes to nodes from an inherited scene only affect up to the next inherited scene Dec 15, 2021
@AttackButton
Copy link
Contributor Author

As a side note, apparently some properties like the raycast2D's collision mask has no effect on the next inherited scene. Others like enabled, cast to and exclude parent does.

@RCastroAB
Copy link

I managed to reproduce the bug with the collision mask as well. Could it not be the case, as discussed in #56584, that the grandchild scene was closed during the test?

@Calinou
Copy link
Member

Calinou commented Sep 1, 2022

Duplicate of #7984.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Sep 1, 2022
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

4 participants