Studio Loses Random Chunks of Game Files (scripts, objects, folders, etc) when Roblox site goes offline during live Studio Session

I searched the #platform-feedback forum for anything similar and all I found was issues with the datastore, which isn’t really the same as what I am experiencing. So this might be a rare bug or something completely different, LOL.

This bug report is related to working in Studio when something on the other end of Roblox goes offline (reboot, no Internet, whatever happens out there, etc). The first time this happened, I thought it was my fault. Maybe I hit a delete button by accident somewhere and wiped out an entire folder of models and scripts? But now that it has happened twice and I was able to spot when it happened and make notes, I hope this will help the Roblox engineers narrow down the cause. I did search the bug reports for something similar because I can “respond” to other bug reports in a reply, but no one has put up a detailed enough bug report about this specific error to work with. Ok, enough history, time for evidence.

It just happened again today (yesterday now), only an hour before this posting as I was getting together screenshots and data, doing test to see if I actually lost data, etc. To be more specific, it happened before 8:45 PM Central Time Zone, 8/26/2022

Bug Report:

Details: An Internet interruption of the connection between Roblox and the Studio software can cause Studio to lose random chunks of your game, be it models, folders, code or anything else under the Workspace. No errors will be generated on screen nor will anything show up visually to signal the user that something has happened. You won’t know something is wrong until either you try to test your game and get errors due to missing resources or you close Studio thinking everything is saved and come back later to find random stuff deleted/missing from your game.

Where: Roblox Studio

When: Rare, hard to reproduce

Screenshots: Linked below

Reproduction: Work in Studio and either simulate a link failure or wait for it to happen on Roblox end (rare), random as to what you may lose.

Environment: Windows 7 Pro, 16GB of RAM, no Beta Features enabled in Studio, No Plugins Installed, as raw of a Studio setup as you can get. Studio never crashes or generates errors when this happens.

Studio Version:
\AppData\Local\Roblox\Versions\version-adf9c14cb84140d5\RobloxStudioLauncherBeta.exe

–No micro-dumps generated, no crashes of Studio

The links below have pictures that detail the signs of something is wrong in Studio along with further testing that shows Studio did indeed lose data because saving your game results in saving it as though you deleted a bunch of random resources in your game.

Bug Image 1, you can see that Studio is showing that I am missing folders and objects
Imgur

Bug Image 2, I can plainly see in explorer that the folders, paths and objects do indeed exist, at least in that view. So from the user standpoint, everything is fine and the error makes no sense.
Imgur

Bug Image 3, I made quick backup of the entire game and compared it to yesterday’s backup. Over 349k of code, objects, etc. are now missing from what is live in the Studio. Not a good sign!
Imgur

Bug Image 4, If you restart Roblox Studio (remember, it had no errors or warnings before), then you get an error about a disconnected Team Create session, which is probably the source of the data loss? Add to this, I don’t do Team Create sessions with anyone, so it’s odd that it would say that, but it’s the sign that something is wrong though and to look for data loss.
Imgur

2 Likes

We’ve filled a ticket into our internal database for this issue, and will come back with an update as soon as we have news!

Thanks for the report!

3 Likes

I believe I have encountered this before as well. In my case it seemed to affect only the ParticleEmitters in my place file, for whatever reason.

At some point on our Team Create studio file we lost hundreds of ParticleEmitters from somewhat random locations, though they were all descendants of the Workspace. Many ParticleEmitters still remained, and none of the actual parts that the emitters were parented to were missing.
I ran a script on both files from before and after it happened to get a count of various instance types, and no other instance types were affected - ParticleEmitters in ReplicatedStorage, ServerStorage, etc. were not affected either.

4 Likes

This is what I’ve seen when it happened to me, it affects only the workspace, but the other areas like the Sound Service, ServerScriptService, etc. all appear to be fine, no missing resources. If you are working on some area of your game and don’t visit the other areas because they are “done”, it’s odd when the error comes up in testing because you know that no one has been doing any work in those other areas of the game. The good news, backups can get you back up and running with a simple copy/paste from another Studio session, and even better, the “versions” feature lets you open up an older version in another session and do a quick copy/paste this way if you notice anything missing. The only thing is, doing a look through the resources to look for missing stuff can be time consuming if it’s a big chunk of stuff gone. :face_with_raised_eyebrow:

It happened again today after a Studio update. I lost all of my Spawn locations. Good thing I saved everything before this happened, but as before, I have to spend a lot of time now looking through a recent version and comparing it to what I have now to see what is missing. I would have never known except when I started a play test, my character spawned out in limbo, even though I could see all my spawn locations were still in the explorer view and enabled, but after I shutdown the Studio and reloaded the last save, I could see they were all gone and thus why my character was spawning at default location coordinates due to no actual spawn points. Maybe I never noticed before, but this maybe be related to new versions of the Studio being released while you are still active in your own version?

1 Like

The exact same thing happened to us last night, a folder named “GreenPlaneSpawns” was just missing. We restored it from an older save and just assumed that maybe one of us deleted it by accident, but reading this it seems to line up with what happened. Going to be downloading local copies a whole lot more often now.

I’ve actually seen this happen a BUNCH of times (my wifi goes out, team create doesn’t work, etc.). Even when I just close studio it’s happened. Usually it’s not too bad but sometimes entire scripts are removed, a folder that I copied over (100% as well) is removed, code reverts, etc. This has been happening for well over 6 months to me as well, at first I thought it was just me being tired but as I see this post I realize that it is indeed a Roblox bug that others experience.

I think I found a pattern to this now. It happened right after opening Studio and I only did one thing. Seems that setting a “Boolean” attribute as “off” on a Folder or Object is what makes either that whole folder or object itself disappear while Studio is running, even though you can see it, set it’s properties, etc. Everything appears fine until you run your game and it errors on the missing object(s). It’s still random, I couldn’t reproduce it again, but hopefully it’s a step in the right direction for the dev team when investigating. Thinking back, everything that I’ve lost when this happened all have a “Boolean” attributes on them. The attributes being the one you create in Studio, not via code.

1 Like