Search Unity

Can I recover a lost scene/project?

Discussion in 'Editor & General Support' started by Whennis, Jun 15, 2022.

  1. Whennis

    Whennis

    Joined:
    Jun 7, 2022
    Posts:
    1
    I was just working on a URP project for work. I had a scene that included the entirety of my project. I went to import Unity Particle Pack and when I did so, my setting were changed, and my entire scene was erased. I had the scene saved before but for some reason when the pack was imported it was overwritten with a blank scene. Is there any way I can recover the project, or just the scene at the very least?
     
  2. qiveal

    qiveal

    Joined:
    Jan 31, 2022
    Posts:
    320
    I'm not sure if you can recover it, but make sure you are using something like github.
     
  3. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    7,838
    Not unless you were using some form of version control or backup software.

    Needless to say you've learnt an important lesson today.
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,686
    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://forum.unity.com/threads/prefab-links-keep-getting-dumped-on-git-pull.646600/#post-7142306

    Here's how I use git in one of my games, Jetpack Kurt:

    https://forum.unity.com/threads/2-steps-backwards.965048/#post-6282497

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

    https://forum.unity.com/threads/whe...grammer-example-in-text.1048739/#post-6783740

    Share/Sharing source code between projects:

    https://forum.unity.com/threads/your-techniques-to-share-code-between-projects.575959/#post-3835837

    Setting up an appropriate .gitignore file for Unity3D:

    https://forum.unity.com/threads/removing-il2cpp_cache-from-project.1084607/#post-6997067

    Generally setting Unity up (includes above .gitignore concepts):

    https://thoughtbot.com/blog/how-to-git-with-unity

    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.

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