You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a sprite to an animation can cause GDevelop to freeze indefinitely, seemingly caused by a copy of the sprite already being in the project file and/or merging with GitHub
#7123
Open
1 task done
seal-jpeg opened this issue
Nov 3, 2024
· 0 comments
Under some circumstances, in which the project folder contains sprite images that were previously added to the project but have been removed from the project itself by a GitHub merge, re-adding those sprite images can cause GDevelop to freeze indefinitely, with the project reopening on its own every time you reopen GDevelop afterwards.
Steps to reproduce
All steps taken (some might not be necessary but this is all of the steps I remember)
Create a project as a GitHub repository, as outlined in the official GDevelop tutorial for doing so.
On one device, add some sprites to an object. (I had around 50 or so, all around 250×350 pixels if that's relevant)
On a second device, add more sprites to that object via file upload, and rearrange some or all of the sprites.
On the first device, commit and push.
On the second device, fetch and pull.
The second device should no longer have the additional sprites in the project itself, but they are still in the project folder. If not, I may have forgotten a step.
On the second device, try to add the same sprites you added last time. At some point it might freeze indefinitely.
Closing and reopening GDevelop will cause the project to open up again automatically despite not selecting the option to do so. This seems to repeat until you manually save and close the project - exiting out of GDevelop or closing the project without saving doesn't work.
Trying to add the sprites again will cause the same issue to reoccur.
This seems to be fixable by at least one of the following, but I'm not sure which it was:
Deleting all copies of the additional sprites from the project folder
Deleting the autosave file from the project folder
GDevelop platform
Desktop
GDevelop version
5.4.217
Platform info
Windows 11
Additional context
A lot of GitHub-related file corruptions took place beforehand. They seemed to be resolved long before the bug happened (including by removing and replacing all files in the project folder with backed-up copies), but may have contributed.
I don't have as much information as I'd like to about this, but hopefully this is enough to go off. The first freeze took place when adding the third sprite, and all subsequent freezes when adding the second.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the bug
Under some circumstances, in which the project folder contains sprite images that were previously added to the project but have been removed from the project itself by a GitHub merge, re-adding those sprite images can cause GDevelop to freeze indefinitely, with the project reopening on its own every time you reopen GDevelop afterwards.
Steps to reproduce
All steps taken (some might not be necessary but this is all of the steps I remember)
GDevelop platform
Desktop
GDevelop version
5.4.217
Platform info
Windows 11
Additional context
A lot of GitHub-related file corruptions took place beforehand. They seemed to be resolved long before the bug happened (including by removing and replacing all files in the project folder with backed-up copies), but may have contributed.
I don't have as much information as I'd like to about this, but hopefully this is enough to go off. The first freeze took place when adding the third sprite, and all subsequent freezes when adding the second.
The text was updated successfully, but these errors were encountered: