I know this might seem kind of dumb, but ive been trying to recover a game I’ve been making in which I’ve deleted Unity along with the desktop folder. The thing is, I have a Windows Export bundel, and the project is listed in Unity Cloud. That gave me a bit of motivation to try and recover my game. So if there is any way of doing so, how?
I’ve permanently removed the unity folder about 7 months ago, and used to not update unity at all. Although I forgot which unity version I built my game, I would assume it would be 5.2 -5.6 or something.
Sorry if this post seems out of place, Im relatively green to Unity forums.
Unity is a game engine, not a file system and certainly not a data recovery service. There are no facilities whatsoever for recovering files in any way beyond basic Ctrl-Z undo.
I’m sorry you’ve had this issue. Please consider using proper industrial-grade enterprise-qualified source control in order to guard and protect your hard-earned work.
PROPERLY CONFIGURING AND USING ENTERPRISE SOURCE CONTROL
Personally I use git (completely outside of Unity) because it is free and there are tons of tutorials out there to help you set it up as well as free places to host your repo (BitBucket, Github, Gitlab, etc.).
You can also push git repositories to other drives: thumb drives, USB drives, network drives, etc., effectively putting a complete copy of the repository there.
As far as configuring Unity to play nice with git, keep this in mind:
I usually make a separate repository for each game, but I have some repositories with a bunch of smaller test games.
Here is how I use git in one of my games, Jetpack Kurt:
Using fine-grained source control as you work to refine your engineering:
Share/Sharing source code between projects:
Setting up an appropriate .gitignore file for Unity3D:
Generally the ONLY folders you should ever source control are:
Assets/
ProjectSettings/
Packages/
NEVER source control Library/ or Temp/ or Logs/
NEVER source control anything from Visual Studio (.vs, .csproj, none of that noise)
Setting git up with Unity (includes above .gitignore concepts):
It is only simple economics that you must expend as much effort into backing it up as you feel the work is worth in the first place. Digital storage is so unbelievably cheap today that you can buy gigabytes of flash drive storage for about the price of a cup of coffee. It’s simply ridiculous not to back up.
If you plan on joining the software industry, you will be required and expected to know how to use source control.
Source control does require learning, but there are TONS of tutorials and courses and online reference.
You should strive to use source control as confidently as you use your file/folder system.
“Use source control or you will be really sad sooner or later.” - StarManta on the Unity3D forum boards
You created a game that deletes Unity and the desktop folder, is that what you’re saying?
I suppose you meant to say you deleted the project that was located on Desktop.
If that cloud reference of the project isn’t a Unity Version Control reference, then you can’t recover that. It’s probably just a name and some details of the project. If you can be more specific that would help.
If you only need to install Unity, you can do so with the Hub and for those very old 5-ish versions you may have to use the website’s download archive.
by unity cloud you mean the name of the project appears in you unity account dashboard?
in any case time passed is against you, but you could get lucky if the drive where you have windows has enough space so the files have not been overridden yet.
you use a file recovery app like Recuva that can scan and attempt to recover deleted files.
But it depends on how many files you’ve got in the project assets. You can ignore the Library files I think. Chances are slim but possible.
Technically when you delete something is not actually deleted you just don’t have access to the path of that file. The path is written down inside the Master File Table that is on every drive. the paths of deleted files do not get removed, you just don’t see the paths anymore. So, certain apps like Recuva can read those paths and recover the files (IF) they didn’t got other files been written in their place or over parts of them.
I don’t think the cloud reference of my project was a Unity Version Control reference. The only reason why I’d assume so is because I don’t actually know what it is . Thank you for your response though!
I just tried it out, and as you mentioned, I had the option to recover lost files. However, some are unrecoverable. I don’t exactly know which files are for unity, and which aren’t. I’d assume many essential files are overwritten, since my storage capacity isn’t the greatest with about 255 gb, which is unfortunate. I have a question though, since I’ve exported my to game to windows, can I somehow import them back to unity?