GDevelop
GDevelop copied to clipboard
Weird behavior and potential project corruption if you copy a scene with sliders
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
Copying a scene with a slider in it and pasting it in a different project can corrupt the project.
Steps to reproduce
- Create a new project
- Click on "Add a new object"
- Select "slider"
- This happened with "Square White Slider", I haven't tested if it works with the other ones
- Copy the scene
- Create a new project and paste the scene with the slider in it
- The slider is now a corrupted object
- If you don't delete the object before closing the project GDevelop will refuse to open it and say it's corrupted
GDevelop platform
Desktop, Web, Mobile
GDevelop version
5.4.209
Platform info
Windows
Windows 11
Additional context
I also put an instance of the object in the scene before copying it, I don't know if this is necessary to reproduce the bug.
The only way to recover the project is by manually deleting the slider in the json.