Describe the bug. Describe what is happening when the bug occurs. Describe what you would normally expect to occur.
After publishing the game and re-loading it in studio, all my LinkedSources became blank.
How often does the bug happen (Everytime/sometimes/rarely)? What are the steps that reproduce the bug? Please list them in very high detail. Provide simple example places that exhibit the bug and provide description of what you believe should be the behavior.
This just happened today. I do not know how to reproduce this bug, but I was connected to a very slow network (~20 kbps) if it helps.
Where does the bug happen (www, gametest, etc) Is it level-specific? Is it game specific? Please post a link to the place that exhibits the issue.
When did the bug start happening? If we can tie it to a specific release that helps us figure out what we broke.
This happened today, Aug .19 at around 2 AM PST.
I also cannot revert my LinkedSources to their previous versions (the options were grayed out), and rolling back to a previously published version did not help.
If there is any way an admin can roll back my game to a version that still had the LinkedSources intact, I would really appreciate it. I lost several days, possibly weeks of work due to this.
After a day of painstaking work, I have rewritten most of my modules. I do not need a reversion anymore.
I’ve had a member of the ROBLOX Forums approach me asking me about what to do about their linked-source scripts being wiped. At first I thought it was some random isolated issue but seeing this thread would suggest it’s a more widespread issue.
I’ll edit this post with further details when I can from the person involved, he’s currently offline.
This happened to me before too. It was the first time I started using LinkedSource. Haven’t used it since. Not worth the risk currently. I couldn’t replicate it though.
It’s generally a bad idea to use them. They aren’t from 2009, but I was referring to the fact that ModuleScripts (namely private modules) do the same job and have better support.
Not if you’re using the same code in, like, 11 different places. Again, I’m not quite sure we’re talking about the same thing since a lot of people use LinkedSources.
Private modules also aren’t so private and can be required by anyone. LinkedSource can be edited seamlessly in Studio, whereas modules required from the site have to be inserted and then published back. LinkedSource is a modern feature and there is no problem with using it.
Out of personal experience I can confirm that this happens in a non team create place with lots of linkedsources. The scripts I lost were ones that I didn’t touch for months, and the scripts lost varied from one line of code to hundreds of lines of code (usually the one liners)
It depends. From my experience, if the script was converted into a linked source late in its development, progress can still be salvaged by setting its source to [Embedded]. Otherwise, it’s impossible to recover any useful progress.
Does disconnecting while the place is being published reproduce this? I had a weak, shaky connection while this happened.
Are these places being edited in Team Create or standard Edit mode?
Edit mode. Though it is possible that I may have accidentally clicked TeamCreate.
Have these places ever been saved as a local file?
Once, maybe a month ago.
Did you make any changes to these scripts before this happened?
No.
Can you send the log files from the session you noticed this issue, and the previous ones?
When I noticed the scripts were gone:
And another for when I last uploaded the place:
Does this happen to you in a place with only one linked script, or does there have to be a lot of them?
I have a lot of linked scripts (15+), and all of them were blanked.
Ok, we have a slightly better understanding of what’s going on now. Still trying to repro, but if there is a place that switching to Embedded does not get back much of the lost work, please message me and we should be able to restore from the previous version of the scripts (before they were empty).
Have you changed the name of any of your LinkedScripts?
When the place was published? No.
Did you publish the LinkedScript via the Game Explorer?
No.
Did you revert a script in the GameExplorer?
No.
Was the game published to a new or different place slot?
No.
Did you recently create a new LinkedScript?
No.
Did you revert the place to a previous version?
No.
Did you add/modify any other assets in the game?
No. I only updated a map.
Do you usually have multiple Studio sessions open?
Yes. In addition to the place where this issue occurred, I had another session open for a different place. That other place did not have any linked scripts.
I just got hit with this bug too. This is the 2nd time I’ve ran into it.
Is there any way to rollback the LinkedSources? I’m about to just drop them entirely because this is really freaking scary.
I wish I could provide a reproducible case, but I don’t have one. It happens rarely and randomly.
I feel like the best way to work around this is to add a safeguard to the server publishing mechanism, so that if it tries to publish a change where all of the LinkedSources are suddenly blanked out, then it’s PROBABLY NOT the users intention.
Also, make sure the Embedded source is kept archived and up to date just in case.