Std :: exception?

Hi, I have a big problem. Someone in team create deleted the script in my game that makes it run. Unfortunately, it was very long and I don’t feel like rewriting it. We all tried ctrl + z.

When I attempt to open an old version, I get this

I don’t know where to put this, so I put it here. I do not have access to the bug-reports forum, which I would like to post this in, but I really need help. What is an std :: exception??

1 Like

std is the standard library for C++, std::exception is a base class for standard exceptions, all objects thrown by components of the standard library are derived from this class. Therefore, all standard exceptions can be caught by catching this type by reference. I, unfortunately, can’t tell where the error is occurring from. Your best shot would be to contact Bug support. Good luck on fixing it.

^ I’m no C++ expert btw so, I may have missed something.

2 Likes

Here’s a few things to try for getting that script back.

  1. Open the same place file again

  2. Open a previous version of your game

  3. Open an auto-saved place file (Open Finder, Documents > Roblox > AutoSaves, double-click to open)

  4. Check for auto-saved scripts. First, open any Roblox Studio place file. Next, right-click any object from the explorer. The file you select later will go there. After that, click “Insert from File…” from the dropdown menu that appears. Make sure the dropdown at the bottom of the window that appeared says “Script Files (*.lua .txt)" and not "All Roblox Model Files (.rbxm *.rbxmx)”. Navigate to the auto-saved scripts folder (Documents > Roblox > ScriptAutosaves) and click the arrow next to each folder to see the contents inside. From here, you will need to do some guess-work and import each lua/luau file into the place you have opened. When you do find a .lua file, click it, then click the “Open” button at the bottom-right corner of the finder window.

1 Like

Since you use Team Create, it should be saved to Version History. Try restoring through the Creator Dashboard.

Don’t mind the game, it’s back from my early development free model days

2 Likes

The exception message is generic, but my best guess is that you did not have edit access at the time of the version you’re accessing.

1 Like