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
The auto-save mechanism introduces an edge case where Project.saveToCloud or Project.saveToLocalCache may run after Project.dispose is called or while Project.history is making changes. This can lead to intermediate state resources (e.g., sprites and sounds) being saved, resulting in data corruption.
Possible solution
Ensure Project.saveToCloud and Project.saveToLocalCache only run when resources are stable by locking Project.history before Project.export and confirming Project isn't disposed before saving.
The text was updated successfully, but these errors were encountered:
Description
The auto-save mechanism introduces an edge case where
Project.saveToCloud
orProject.saveToLocalCache
may run afterProject.dispose
is called or whileProject.history
is making changes. This can lead to intermediate state resources (e.g., sprites and sounds) being saved, resulting in data corruption.Possible solution
Ensure
Project.saveToCloud
andProject.saveToLocalCache
only run when resources are stable by lockingProject.history
beforeProject.export
and confirmingProject
isn't disposed before saving.The text was updated successfully, but these errors were encountered: