Drafts wiped after starting Local Server test in studio

I just started a local server test in studio and this resulted in all my drafts being wiped, costing me hours of progress. The studio test I started seemingly failed as the server window opened but all client windows closed after around 2 seconds, when I cleaned up all my drafts were completely gone but all scripts I made were retained.

This is extremely frustrating, why aren’t drafts backed up to team create servers? Please fix this. I was unable to recover my drafts from the localappdata sandbox folder.

Beta Features:

  • Avatar Joint Upgrade
  • Dragger QoL improvements
  • Haptic Effects
  • Unified Lighting
  • Video Uploads

Specs:

  • Windows 10
  • AMD Ryzen 7 9800X3D
  • RTX 3080

Hi,

I want to apologize that this issue resulted in you losing your drafts. This should not happen, so I am going to see if I can reproduce the issue myself.

In the meantime, could you double check to see if the Drafts are backed up on your filesystem?

On Windows:
/Users/<username>/AppData/Local/Roblox/Sandbox/<placeId>/<userId>/drafts
On MacOS:
/Users/<username>/Documents/Roblox/Sandbox/<placeId>/<userId>/drafts

There are still no drafts present in this folder.

Hi, if possible, could you locate the Studio logs from the session that this happened? This would help me figure out what went wrong. You can send them in a private message.

Here’s how to find the logs:

Much appreciated!

1 Like

Hi just following up,

Has this issue happened again? I looked through the logs to see if I could find the error messages I expect. Unfortunately, I don’t see the error messages, and I cannot seem to reproduce the issue myself.

I haven’t experienced this issue since but this may just be because I’ve been actively trying to avoid it by committing more frequently. I believe there was an error message when I opened studio that said the files had been corrupted and lost.

Ah, originally I wasn’t able to find that error message in the logs. This makes more sense. If the metadata file was corrupted during the crash, the Drafts would not be loaded when the Place opens.

Unfortunately, there’s no easy fix to this issue. One of our largest efforts is to keep Studio stable and prevent crashes. Although rare, crashes can create corrupt states.

In the future, we aim to have a more resilient branching / merging workflow that relies on cloud-based storage.

Apologies again for your lost work. Some developers choose to use the Rojo plugin which makes it possible to use Git as version control for scripts. While not officially supported, this might help.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.