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

Changes to the parent of instanced inherited scenes fail to update in the editor #57089

Open
jammin-ben opened this issue Jan 23, 2022 · 1 comment

Comments

@jammin-ben
Copy link

Godot version

3.4.stable

System information

Windows 10

Issue description

When an inherited scene is instanced within another scene, saved changes to the parent node fail to show up in the editor. Changes are only visible after closing and reopening the scene tab. This can cause confusion to new users who are working with inherited scenes and do not see changes.

Steps to reproduce

-Create a new project
-Create a node2d scene named main_scene
-Create a node2d scene named parent_scene with a sprite as the child (icon.png can be used as the texture)
-Create an inherited scene named child_scene which inherits from parent_scene
-Instance child_scene within main_scene
-Update the parent_scene in some visible way (say, change the modulate of the sprite for a color update) and save the change
-This change will be reflected in the child_scene 2d tab, but not in the main_scene 2d tab.
-The change will be visible if the project is run, but this does not update the editor. The editor is only updated by closing and reopening the main_scene tab.

Minimal reproduction project

Test.zip

@Calinou
Copy link
Member

Calinou commented Jan 23, 2022

Related to #38853 (which is for 3D). This is likely a duplicate of another issue, but I can't find it right now.

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