need urgent help... recovering project files

I worked my project files at sandisk hdd external drive. At desktop and notebook.

Today suddenly hdd become not recognized at computer. I don’t know why, no shock, worked fine until yesterday…

All my code, project files are in that hdd drive only…

I entrusted the drive to a professional company for restoration, waiting their working… they said not much chance to recover data.

Are there no way to recover some code files at least?

I have used visual studio 2022 but are there no automatic code backup files?

Any project backups are your responsibility, not really anyone elses. If you didn’t have any back ups, that’s on you.

If you care about your projects you should be following the 3-2-1 backup rule, or any other backup guidelines. Take this as an important lesson.

HDDs have a ton of mechanical and electrical parts that can fail even if you’re careful: controller, platter motor, head motor, the heads themselves, the seals that prevent leakage of internal gases and exposure to dust from outside the drive, etc. All you need is for one of these to fail and the drive is dead.

SSDs only really have one component that can fail: controller.

Generally speaking you shouldn’t be using HDDs unless you have a large amount of data that you need to store, and even then you should only use them for long term occasional access. SSDs aren’t perfect and you shouldn’t rely on them entirely but they’re far less prone to random failure.

That’s likely a blanket statement they tell everyone. Recovery success is typically very high as the only parts that truly matter are the platters. Everything from the earlier list can simply be swapped out for a working component and from there the data will be recovered and stored on a new drive.

Just be aware the cost of the recovery is dependent on what it takes to determine the problem, repair it, and save the data. I’ve heard of anywhere from a hundred dollars to a few thousand dollars in the United States. It’s always more cost effective to have proper backups.

A few years ago, I experienced a broken project on an external SSD. External Samsung SSD and SanDisk SSD both last for a few months and the project files suddenly become strange. Unity, which used to open well, does not open, the scene file is broken, etc…

So this time, I started with an external HDD from the beginning.
This is Sandisk 2TB G-Drive ArmorATD.
It looked sturdy.

However, after using it for about 10 months, one day it suddenly became unrecognizable without any warning symptoms. I tried all the tips on how to fix the unrecognized problem on Google, but none of them worked.

The recovery company expert says that since this is actually a USB-type HDD, recovery is much more difficult.
The recovery cost is $300 plus an additional $400 if successful.

If I were to lose it, I would have lost 10 months worth of my time, and it would be a huge loss to my life.

So the conclusion is, I will never use Sandisk product again.

It doesn’t really matter what kind of drive it is, they all have the chance of failing. The important part is not only having the one instance of your project on hand, and not following smart backup routines.

If this is your profession then honestly you’d be smart to invest in a NAS system with automatic backups, or some kind of cloud backup solution.

At the very least have your projects backed up on a remote repo like Microsoft Azure Devops, so you can just download the repo if you happen to lose your live copy.

yes maybe should use unity scm (plastic? devops? anyway).

Do you not already use version control?

I just use Git Hub for Desktop, with MS Azure devops for remote repo hosting. I’ve not used any of Unity’s offered VC solutions.

why?

Why what?

why not use any unity service?

No real reason. Just the first one I tried was Github (being one of the biggest VC solutions out there) and I have no complaints. Then someone here suggest Azure Devops because you get very generous amounts of storage space for free, and again have had no complaints using it to backup my important repos.

Actually, I used Unity plastic scm in a previous project.
However, there were times when errors occurred, and there were parts that did not require backup, such as large files in the project and effect files from third parties.
Additionally, $5 per month is added for every 25GB.
It is unclear whether more than 50g is supported.

The size of my current project is 100g.
This is because I downloaded everything from the Asset Store, including effects and images, and used them in one project.
What should be managed with SCM here?
Perhaps just managing the script, scene, prefab files will be enough.

But at that time, I thought it would be cumbersome to manage and maintain the entire project folder in the cloud.

Unity is a game engine company, not a source control engine company.

Learn and use git, host it at github. Strive to get as good at using git as you are at using folders on your desktop.

Fortune 500 companies are ALL using git. I don’t think this is true of Unity version control.

EDIT: as for a 100gb repo, just buy a trio of 5-terabyte drives ($100 each today) and clone and push to those drives, rotate them every day. Store the other two drives somewhere else and if an airplane lands on your house or it burns down, the most you’d lose is a day.

Or as Spiney says, get a NAS. This really is a solved problem, but you have to take the final step yourself.

PROPERLY CONFIGURING AND USING ENTERPRISE SOURCE CONTROL

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.

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:

https://discussions.unity.com/t/736093/3

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:

https://discussions.unity.com/t/807568/3

Using fine-grained source control as you work to refine your engineering:

https://discussions.unity.com/t/826718/2

Share/Sharing source code between projects:

https://discussions.unity.com/t/719810/2

Setting up an appropriate .gitignore file for Unity3D:

https://discussions.unity.com/t/834885/5

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.

“Use source control or you will be really sad sooner or later.” - StarManta on the Unity3D forum boards

Thanks for detailed info.

Ouch! I feel your pain. And it’s makes me remember that my projects and their saves are all stored on the same external SSD. I need to do something about that.
Maybe I’ll try GIT.
I wish you managed to recover your lost files. :slight_smile:

just am praying to GOD…

Dude, I hope you will get back your project. And I hope you will learn from it. Also keep in mind that (to reiterate for others too, who find this thread later):

  • Do not use external drives to build your project, Unity does not support this.
  • Always use internal drives
  • use any kind of Version Control (if you want to cut back on size do not import whole asset catalogs in your main project, only the concrete assets you are using)
  • keep backups religiously, it will save your ass at some point or another, I assure you! if you can keep two, one onsite and one on another physical location (in case something happens to the place you are usually working, fire, earthquake, flood, whatever) it’s even better!
  • think about how much your projects worth for you and employ services accordingly, if you value your project, think about how can you pay for a backup and/or version control system

I disagree with this one. Unity Version control (Plastic SCM) is a great product, the pricing is what makes it questionable for beginners and low-income people (free games or starting just developing financially more serious games). Unity bought the original company (Codice Software) and AFAIK kept its people around. So yes, Unity IS a source control software company too. (Obviously forget any VC asset which works inside unity, those are garbage, no matter who made them, but it’s because of Unity Editor overhead) Use the standalone software, it’s great.

The issue is obviously that you’re billed not just after the size of your HEAD but after your entire submit history. Which means as soon as you iterate on a couple of bigger files, your billing will immediately take off.

Oh another acronym… :slight_smile:

There was here a full thread about Bitbucket Sourcetree, anybody remembers where it is? I can’t find it.