Script got entirely wiped

(unsure if this is supposed to be in Scripting Support, had no idea what other category to put it)

I’m developing a game but recently I reopened a script to edit it but it got completely wiped. Reverting doesn’t work either, same error. This is how my script looks at the moment:

I got my friends to open the script and they had the same issue. I have already reinstalled Studio twice, with no luck.

Has anyone here had this issue before and found the solution?

1 Like

This happens if you have Collaborative Editing on. You might be able to find an autosave, but thats it.

Sorry man.

I have it off, however.

Have you checked old versions of your game?

Yep, same issue in them. Entirely wiped.

Maybe this is something on your own end? It might still be there just you cant see it.

It clearly isn’t on his own end, haha

:grimacing: I should read stuff before saying it. Its a bad habit.

@VirtualButFake Do you have any autosaves? Like files saved from the game? Check in your file explorer. Unless you are on mac then I dont know what to check.

I’ll check real quick, hold on.

Yeah, I do have an autosave but it has the same problem.

This is strange. Maybe file a bug report?

Can you open drafts tab then see if there is anything to commit?

Don’t have it on, there’s nothing to commit.