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

Renaming a layer causes objects in external layouts to become invisible #6136

Closed
1 task done
tristanbob opened this issue Dec 29, 2023 · 2 comments · Fixed by #6140
Closed
1 task done

Renaming a layer causes objects in external layouts to become invisible #6136

tristanbob opened this issue Dec 29, 2023 · 2 comments · Fixed by #6140
Labels
🐛 bug This is a bug impacting users

Comments

@tristanbob
Copy link
Contributor

Is there an existing issue for this?

Describe the bug

Renaming a layer causes objects in external layouts to become invisible

Steps to reproduce

  1. Create a new layer
  2. Create an external layout
  3. Add objects to the external layout on the new layer
  4. Rename that layer
  5. Objects instances in the external layout become invisible because they are still assigned the old name of the layer

Notes:

  • You can still select these instances in the editor, although the selection boxes are always at 0,0
  • In the game, the objects appear at 0,0 on the base layer
  • Changing the layer of the instances to the new name will make the objects reappear

image

GDevelop platform

Desktop

GDevelop version

5.3.186

Platform info

Windows 11

Additional context

No response

@ClementPasteau ClementPasteau added the 🐛 bug This is a bug impacting users label Jan 3, 2024
@ClementPasteau
Copy link
Collaborator

I can confirm I reproduce this.
Closing and reopening the layout doesn't solve it either, so it's indeed a renaming of the layer in the external layout that is not happening.

(Note that renaming the layout in the external layout will rename it in main scene, so it works the other way)

@ClementPasteau
Copy link
Collaborator

Thanks for the report @tristanbob this will be available in next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug This is a bug impacting users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants